Ben Lopatin
96f9ea4b50
Remove Python 2 compatibility checks
2021-12-18 14:41:33 -05:00
Alex Kerney
aeb763c42c
Authenticate via headers
...
Closes bennylope/pydiscourse#27
2019-12-04 18:09:00 -05:00
Ben Lopatin
be74c4e5b7
Add GitHub Actions testing workflow ( #24 )
...
* Add GitHub Actions testing workflow
* Update named Python versions and dev status
* Use unittest.mock as default mock source
Fall back to package for Python 2.7
* Try installing mock outside of setup
* Switch to GitHub actions shield
2019-10-06 12:04:51 -04:00
Ben Lopatin
89f12f707b
Break out of infinite loop for ok responses
2019-04-21 13:52:14 -04:00
Ben Lopatin
c0db7215c9
Format with black
2018-10-29 18:02:58 -04:00
jddorweiler
f8d628909c
update test
2016-09-08 14:38:22 -04:00
Matheus Fernandes
66089011f7
Added 'user-badges' endpoint
...
Signed-off-by: Matheus Fernandes <matheus.souza.fernandes@gmail.com>
2016-06-10 11:46:56 -03:00
Matheus Fernandes
fe317b6be8
Added badges endpoint to pydiscourse
...
Signed-off-by: Matheus Fernandes <matheus.souza.fernandes@gmail.com>
2016-06-10 10:59:03 -03:00
Ben Lopatin
1e151fc51f
Remove module import from setup.py
...
Get the version number from the file, not by importing and thus trying
to import requests
2016-04-08 17:57:19 -04:00
Ben Lopatin
c5207759a8
Fix empty response handling
2016-04-08 17:36:18 -04:00
Ben Lopatin
46051fd248
Fix unsuspend test
2016-04-08 13:47:43 -04:00
Ben Lopatin
eed4df564d
Add unsuspend method and un/suspend method tests
2016-04-08 13:43:05 -04:00
Ben Lopatin
2daebbfa23
Add test for external_id method
2016-04-08 13:43:05 -04:00
Julia Grace
29cb1ce14b
fixed test_topic()'
2015-04-22 10:51:39 -07:00
Felix Rauch
cc03b5cc08
Add method to GET list of users (/admin)
...
This allows to grab all users, as used in the Discourse admin UI at
/admin/users/list. By default grabs all active users, but also accepts
the other views like "staff", "suspended", etc.
2014-12-19 01:22:13 +01:00
Marc Sibson
d81a0b9f80
fix test
2014-05-12 13:08:32 -07:00
Marc Sibson
cb86f1dc9c
fix tests
2014-04-29 14:27:47 -07:00
Marc Sibson
c6ab244f0b
fix error handling
2014-04-21 16:57:13 -04:00
Marc Sibson
4fac3f93f5
add some tests and fixes found by them \o/
2014-04-04 22:37:17 -07:00