summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2013-09-11 15:56:22 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2013-09-11 16:54:59 +0900
commitc1467413c90b4fd9c0b67c668906e086af3f6552 (patch)
tree9b60a4d5533780b2a6dd105659a86874187e0223 /testdata
parentea6218a909f89f01819e3070139380ac5583257c (diff)
downloadpygerrit-c1467413c90b4fd9c0b67c668906e086af3f6552.tar.gz
Fix #8: Support the "topic-changed" stream event
Change-Id: I70b9cbea1da20a1434eea39e3d8e85e94357b792
Diffstat (limited to 'testdata')
-rw-r--r--testdata/topic-changed-event.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/testdata/topic-changed-event.txt b/testdata/topic-changed-event.txt
new file mode 100644
index 0000000..1847440
--- /dev/null
+++ b/testdata/topic-changed-event.txt
@@ -0,0 +1,13 @@
+{"type":"topic-changed",
+ "change":{"project":"project-name",
+ "branch":"branch-name",
+ "topic":"topic-name",
+ "id":"Ideadbeefdeadbeefdeadbeefdeadbeefdeadbeef",
+ "number":"123456",
+ "subject":"Commit message subject",
+ "owner":{"name":"Owner Name",
+ "email":"owner@example.com"},
+ "url":"http://review.example.com/123456"},
+ "changer":{"name":"Changer Name",
+ "email":"changer@example.com"},
+ "oldTopic":"old-topic"}