summary refs log tree commit diff
path: root/tests/server.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Tests for user consent resource (#4140)Amber Brown2018-11-061-3/+17
|
* Fix typing being reset causing infinite syncs (#4127)Amber Brown2018-11-031-1/+7
|
* Write some tests for the email pusher (#4095)Amber Brown2018-10-301-1/+3
|
* Fix client IPs being broken on Python 3 (#3908)Amber Brown2018-09-201-3/+5
|
* Refactor matrixfederationclient to fix logging (#3906)Richard van der Hoff2018-09-181-0/+81
| | | | | | | | We want to wait until we have read the response body before we log the request as complete, otherwise a confusing thing happens where the request appears to have completed, but we later fail it. To do this, we factor the salient details of a request out to a separate object, which can then keep track of the txn_id, so that it can be logged.
* Attempt to figure out what's going on with timeouts (#3857)Amber Brown2018-09-141-1/+41
|
* Port tests/ to Python 3 (#3808)Amber Brown2018-09-071-1/+1
|
* Fix tests on postgresql (#3740)Amber Brown2018-09-041-0/+1
|
* Unit testsErik Johnston2018-08-231-3/+10
|
* Fix the testsAmber Brown2018-08-151-4/+19
|
* Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-2/+8
|
* Run black.black2018-08-101-0/+2
|
* Test fixes for Python 3 (#3647)Amber Brown2018-08-091-2/+20
|
* Refactor REST API tests to use explicit reactors (#3351)Amber Brown2018-07-171-0/+10
|
* Use more portable syntax using attrs package.Oleg Girko2018-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Newer syntax attr.ib(factory=dict) is just a syntactic sugar for attr.ib(default=attr.Factory(dict)) It was introduced in newest version of attrs package (18.1.0) and doesn't work with older versions. We should either require minimum version of attrs to be 18.1.0, or use older (slightly more verbose) syntax. Requiring newest version is not a good solution because Linux distributions may have older version of attrs (17.4.0 in Fedora 28), and requiring to build (and package) newer version just to use newer syntactic sugar in only one test is just too much. It's much better to fix that test to use older syntax. Signed-off-by: Oleg Girko <ol@infoserver.lv>
* run isortAmber Brown2018-07-091-4/+6
|
* Better testing framework for homeserver-using things (#3446)Amber Brown2018-06-271-0/+181