diff options
author | Dafydd Harries <daf@rhydd.org> | 2009-04-08 19:00:49 +0100 |
---|---|---|
committer | Dafydd Harries <daf@rhydd.org> | 2009-04-08 19:00:49 +0100 |
commit | c2dd22aa36747ee4c122c97f09a6d2e495221fcd (patch) | |
tree | ec2b4012d3798803f0faff02dedc27e2bf84c5bf /tests/twisted/tubes/create-invalid-tube-channels.py | |
parent | ff9658cab958b25b6230834355d1aeb688140ea1 (diff) |
make more use of constants.py in tests
Also other small cleanups.
Diffstat (limited to 'tests/twisted/tubes/create-invalid-tube-channels.py')
-rw-r--r-- | tests/twisted/tubes/create-invalid-tube-channels.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/twisted/tubes/create-invalid-tube-channels.py b/tests/twisted/tubes/create-invalid-tube-channels.py index 3bc89160b..170424234 100644 --- a/tests/twisted/tubes/create-invalid-tube-channels.py +++ b/tests/twisted/tubes/create-invalid-tube-channels.py @@ -30,9 +30,8 @@ def test(q, bus, conn, stream): {cs.CHANNEL_TYPE: cs.CHANNEL_TYPE_STREAM_TUBE, cs.TARGET_HANDLE_TYPE: cs.HT_CONTACT, cs.TARGET_ID: "foo@example.com", - 'this.property.does.not.exist': - 'this.value.should.not.exist' - }); + 'this.property.does.not.exist': 'this.value.should.not.exist' + }) ret = q.expect('dbus-error', method='CreateChannel') check_no_tubes(conn_props) @@ -43,7 +42,7 @@ def test(q, bus, conn, stream): {cs.CHANNEL_TYPE: cs.CHANNEL_TYPE_STREAM_TUBE, cs.TARGET_HANDLE_TYPE: cs.HT_CONTACT, cs.TARGET_ID: "foo@example.com", - }); + }) ret = q.expect('dbus-error', method='CreateChannel') check_no_tubes(conn_props) |