summary refs log tree commit diff
path: root/tests/utils.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a cache for get_eventMark Haines2015-02-111-0/+1
|
* Factor out some of the common homeserver setup code into aMark Haines2015-02-111-0/+23
| | | | setup_test_homeserver function in utils.
* Have MockClock detect attempts to cancel expired timers, to prevent a repeat ↵Paul "LeoNerd" Evans2015-01-131-4/+16
| | | | of SYN-230
* Kill off synapse.api.events.*Erik Johnston2014-12-161-6/+2
|
* Fix tests and remove debug loggingErik Johnston2014-12-121-2/+7
|
* Implement .cancel_call_later() in MockClockPaul "LeoNerd" Evans2014-12-101-2/+5
|
* Implement .call_later() in MockClockPaul "LeoNerd" Evans2014-12-101-0/+26
|
* Sign outgoing PDUs.Mark Haines2014-10-161-1/+2
|
* Raise a SynapseError if the authorisation header is missing or malformedMark Haines2014-10-131-0/+4
|
* Verify signatures for server2server requestsMark Haines2014-10-131-0/+3
|
* Merge branch 'develop' into server2server_signingMark Haines2014-09-301-2/+9
|\ | | | | | | | | | | Conflicts: synapse/storage/__init__.py tests/rest/test_presence.py
| * Unbreak tests after changing storage APIErik Johnston2014-09-291-2/+6
| |
| * Track the IP users connect with. Add an admin column to users table.Erik Johnston2014-09-261-0/+3
| |
| * Fix test.Erik Johnston2014-09-241-1/+1
| |
* | Sign federation transactionsMark Haines2014-09-241-0/+15
|/
* Move SQLiteMemoryDbPool implementation into tests.utilsPaul "LeoNerd" Evans2014-09-101-0/+14
|
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* Fix room permissions testErik Johnston2014-09-021-0/+3
|
* Fix the tests to include new db callsErik Johnston2014-09-011-0/+14
|
* Have MemoryDataStore's get_rooms_for_user_where_membership_is() return room ↵Paul "LeoNerd" Evans2014-09-011-2/+3
| | | | membership event objects, as per interface contract
* Fix a couple of bugs in presence handler related to pushing updatesto the ↵Erik Johnston2014-08-291-6/+31
| | | | correct user. Fix presence tests.
* Ability to assert a DeferredMockCallable has received no callsPaul "LeoNerd" Evans2014-08-281-0/+15
|
* Remove get_state_for_room function from federation handlerMark Haines2014-08-281-0/+10
|
* Fill out prev_events before calling persist_eventMark Haines2014-08-271-1/+3
|
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-261-3/+5
|\ | | | | | | | | | | | | Conflicts: synapse/api/auth.py synapse/handlers/room.py synapse/storage/__init__.py
| * Fix ALL THE UNIT TESTSKegan Dougal2014-08-261-3/+5
| |
* | Take a snapshot of the state of the room before performing updatesMark Haines2014-08-221-0/+7
|/
* Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-191-1/+42
|\ | | | | | | | | | | | | Conflicts: tests/rest/test_presence.py tests/rest/test_rooms.py tests/utils.py
| * Add a DeferredMockCallable; like mock's MockCallable but allows awaitingPaul "LeoNerd" Evans2014-08-191-0/+41
| | | | | | | | on method calls to be made later
| * Rename MockHttpServer to MockHttpResource as it stands for one server ↵Paul "LeoNerd" Evans2014-08-191-1/+2
| | | | | | | | resource rather than an entire server
* | Change the MemoryDataStore to implement new storage apiErik Johnston2014-08-181-99/+50
| |
* | Fix some of the tests to reflect changes in the storage layer.Erik Johnston2014-08-151-22/+2
|/
* Allow advancing the MockClock's timePaul "LeoNerd" Evans2014-08-131-0/+4
|
* Move MockClock into tests.utils so we can reüse itPaul "LeoNerd" Evans2014-08-131-0/+10
|
* add in copyrights to everything, not just the synapse subdir, and add a ↵Matthew Hodgson2014-08-131-0/+15
| | | | copyrighter.pl whilst we're at it
* Reference Matrix Home Servermatrix.org2014-08-121-0/+252