summary refs log tree commit diff
path: root/tests/test_visibility.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update client-visibility filtering for outlier events (#12155)Richard van der Hoff2022-03-041-3/+73
| | | Avoid trying to get the state for outliers, which isn't a sensible thing to do.
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+3
| | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
* Clean up `tests.test_visibility` to remove legacy code. (#11495)reivilibre2021-12-021-202/+39
|
* 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>`
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-2/+1
|
* Bugbear: Add Mutable Parameter fixes (#9682)Jonathan de Jong2021-04-081-2/+5
| | | | | | | Part of #9366 Adds in fixes for B006 and B008, both relating to mutable parameter lint errors. Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
|
* Do not yield on awaitables in tests. (#8193)Patrick Cloke2020-08-271-2/+3
|
* Convert storage layer to async/await. (#7963)Patrick Cloke2020-07-281-4/+10
|
* Convert groups and visibility code to async / await. (#7951)Patrick Cloke2020-07-271-6/+6
|
* Convert the message handler to async/await. (#7884)Patrick Cloke2020-07-221-7/+7
|
* Port to use state storageErik Johnston2019-10-301-2/+9
|
* Use new EventPersistenceStoreErik Johnston2019-10-231-3/+4
|
* Remove test debugsErik Johnston2019-08-201-1/+0
|
* Replace returnValue with return (#5736)Amber Brown2019-07-231-3/+3
|
* Run Black. (#5482)Amber Brown2019-06-201-1/+1
|
* Run Black on the tests again (#5170)Amber Brown2019-05-101-3/+3
|
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-4/+4
| | | | Collect all the things that make room-versions different to one another into one place, so that it's easier to define new room versions.
* Fix test to use valid event formatErik Johnston2019-01-291-1/+1
|
* Fix testsErik Johnston2019-01-251-0/+4
|
* Revert "Require event format version to parse or create events"Erik Johnston2019-01-251-4/+0
|
* Fix testsErik Johnston2019-01-241-0/+4
|
* Fix tests on postgresql (#3740)Amber Brown2018-09-041-1/+1
|
* Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2018-08-201-72/+75
|\ | | | | | | erikj/refactor_state_handler
| * Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-1/+1
| |
| * Run black.black2018-08-101-71/+74
| |
* | Fix testsErik Johnston2018-08-091-1/+3
|/
* Fix visibility of events from erased users over federationRichard van der Hoff2018-07-171-0/+63
|
* fix importsRichard van der Hoff2018-07-171-0/+1
|
* Add a test which profiles filter_events_for_server in a large roomRichard van der Hoff2018-07-161-2/+155
|
* Move filter_events_for_server out of FederationHandlerRichard van der Hoff2018-07-161-0/+107
for easier unit testing.