summary refs log tree commit diff
path: root/tests/storage/test_directory.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Require types in tests.storage. (#14646)Patrick Cloke2022-12-091-4/+8
| | | | Adds missing type hints to `tests.storage` package and does not allow untyped definitions.
* Replace assertEquals and friends with non-deprecated versions. (#12092)Patrick Cloke2022-02-281-1/+1
|
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+1
| | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
* [pyupgrade] `tests/` (#10347)Jonathan de Jong2021-07-131-1/+1
|
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Convert storage test cases to HomeserverTestCase. (#9736)Patrick Cloke2021-04-061-33/+11
|
* Convert simple_update* and simple_select* to async (#8173)Patrick Cloke2020-08-271-1/+5
|
* Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users ↵Patrick Cloke2020-08-071-9/+23
| | | | database to async (#8042)
* Fix tests on postgresql (#3740)Amber Brown2018-09-041-2/+1
|
* Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-1/+1
|
* Run black.black2018-08-101-16/+6
|
* run isortAmber Brown2018-07-091-2/+2
|
* Fix tests for Store.__init__ updateRichard van der Hoff2017-11-131-1/+1
| | | | Fix the test to pass the right number of args to the Store constructors
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Factor out some of the common homeserver setup code into aMark Haines2015-02-111-9/+2
| | | | setup_test_homeserver function in utils.
* Replace hs.parse_roomalias with RoomAlias.from_stringMark Haines2015-01-231-2/+2
|
* Replace hs.parse_roomid with RoomID.from_stringMark Haines2015-01-231-1/+2
|
* SYN-2: Allow server admins to delete room aliasesErik Johnston2014-09-301-4/+21
|
* Neaten more of the storage layer tests with assertObjectHasAttributes; more ↵Paul "LeoNerd" Evans2014-09-171-8/+9
| | | | standardisation on test layout
* Use new 'tests.unittest' in new storage level testsPaul "LeoNerd" Evans2014-09-151-1/+1
|
* Need to prepare() the SQLiteMemoryDbPool before passing it to HomeServer ↵Paul "LeoNerd" Evans2014-09-111-3/+4
| | | | constructor, as DataStore's constructor will want it ready
* Added unit tests of DirectoryStorePaul "LeoNerd" Evans2014-09-111-0/+66