summary refs log tree commit diff
path: root/synapse/events/snapshot.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-12-19 13:40:02 +0000
committerMark Haines <mark.haines@matrix.org>2014-12-19 13:40:02 +0000
commit45a6869cb46ec07c475fca2fee83e4c906a54e94 (patch)
tree9714da089fd65cd5820b8f8353fcd244102448b2 /synapse/events/snapshot.py
parentMerge branch 'hotfixes-v0.5.4' of github.com:matrix-org/synapse (diff)
parentBump web sdk version to 0.6.0 (diff)
downloadsynapse-45a6869cb46ec07c475fca2fee83e4c906a54e94.tar.xz
Merge branch 'release-v0.6.0' v0.6.0
Diffstat (limited to '')
-rw-r--r--synapse/events/snapshot.py (renamed from tests/events/__init__.py)7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/events/__init__.py b/synapse/events/snapshot.py

index 9bff9ec169..b9fb29be01 100644 --- a/tests/events/__init__.py +++ b/synapse/events/snapshot.py
@@ -13,3 +13,10 @@ # See the License for the specific language governing permissions and # limitations under the License. + +class EventContext(object): + + def __init__(self, current_state=None, auth_events=None): + self.current_state = current_state + self.auth_events = auth_events + self.state_group = None