summary refs log tree commit diff
path: root/tests/storage/test_background_update.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not yield on awaitables in tests. (#8193)Patrick Cloke2020-08-271-6/+3
|
* Convert additional database methods to async (select list, search, ↵Patrick Cloke2020-08-271-3/+2
| | | | insert_many, delete_*) (#8168)
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-3/+5
|
* Make do_next_background_update return a boolRichard van der Hoff2020-03-311-3/+3
| | | | returning a None or an int that we don't use is confusing.
* Make `has_completed_background_updates` asyncRichard van der Hoff2020-03-311-1/+3
| | | | (Almost) everywhere that uses it is happy with an awaitable.
* Remove unused `start_background_update`Richard van der Hoff2020-03-311-5/+9
| | | | This was only used in a unit test, so let's just inline it in the test.
* port BackgroundUpdateTestCase to HomeserverTestCase (#6653)Richard van der Hoff2020-01-071-35/+37
|
* Move background update handling out of storeErik Johnston2019-12-051-9/+17
|
* Move DB pool and helper functions into dedicated Database classErik Johnston2019-12-051-1/+1
|
* Replace returnValue with return (#5736)Amber Brown2019-07-231-2/+2
|
* Run Black on the tests again (#5170)Amber Brown2019-05-101-3/+1
|
* Fix flake8 (#4519)Amber Brown2019-01-301-1/+1
|
* Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-1/+3
|
* Run black.black2018-08-101-13/+4
|
* run isortAmber Brown2018-07-091-3/+3
|
* PEP8Richard van der Hoff2016-07-251-1/+1
|
* Fix background_update testsRichard van der Hoff2016-07-251-6/+16
| | | | | | A bit of a cleanup for background_updates, and make sure that the real background updates have run before we start the unit tests, so that they don't interfere with the tests.
* Fix flake8 warnings for testsMark Haines2016-02-191-5/+3
|
* Test for background updatesMark Haines2015-11-101-0/+76