diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-09-19 19:42:56 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-09-20 13:53:04 +0900 |
commit | 1d741888256154832cfc74e055a9ad6b37eaaddc (patch) | |
tree | 1e52c882f1a9d1b66c8284ef1efab9e7b5abc82f /testdata/change-abandoned-event.txt | |
parent | 587aee840bdcdf144178ff97d8d81d0b730c828f (diff) | |
download | pygerrit-1d741888256154832cfc74e055a9ad6b37eaaddc.tar.gz |
Simplify the unit test structure
The structure of the unit tests, copied from another module, is
overly complicated for pygerrit.
Change-Id: I05d1077a624e68e72a97a4a5e3c8892768d3ad17
Diffstat (limited to 'testdata/change-abandoned-event.txt')
-rw-r--r-- | testdata/change-abandoned-event.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testdata/change-abandoned-event.txt b/testdata/change-abandoned-event.txt new file mode 100644 index 0000000..879ea28 --- /dev/null +++ b/testdata/change-abandoned-event.txt @@ -0,0 +1,13 @@ +{"type":"change-abandoned", + "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"}, + "abandoner":{"name":"Abandoner Name", + "email":"abandoner@example.com"}, + "reason":"Abandon reason"} |