summary refs log tree commit diff
path: root/synapse/events/snapshot.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2014-12-16 13:53:43 +0000
committerMark Haines <mjark@negativecurvature.net>2014-12-16 13:53:43 +0000
commit2af40cfa14ba579c156349ae3457a55bc93f8548 (patch)
tree2b94b53c72d51fc170549213ed8cb88556c2b501 /synapse/events/snapshot.py
parentAdd a script for talking matrix federation adding X-Matrix Authorization (diff)
parentFix pyflakes (diff)
downloadsynapse-2af40cfa14ba579c156349ae3457a55bc93f8548.tar.xz
Merge pull request #25 from matrix-org/events_refactor
Event refactor
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