[Pkg-telepathy-commits] [telepathy-mission-control-6] 108/280: bad-cm test: avoid differing Protocol_Name syntax between v0 and v1

Simon McVittie smcv at debian.org
Thu Mar 27 20:07:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-mission-control-6.

commit 0ee4501c905625e47acb654b08af15143f04fad9
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Nov 5 13:24:56 2013 +0000

    bad-cm test: avoid differing Protocol_Name syntax between v0 and v1
    
    nonexistent-protocol now raises InvalidArgument, because its name
    is syntactically invalid. Avoid the - vs. _ issue by using a name
    without either.
---
 tests/twisted/account-manager/bad-cm.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/twisted/account-manager/bad-cm.py b/tests/twisted/account-manager/bad-cm.py
index 74277b4..fb57bb7 100644
--- a/tests/twisted/account-manager/bad-cm.py
+++ b/tests/twisted/account-manager/bad-cm.py
@@ -46,10 +46,10 @@ def test(q, bus, mc):
     assertContains("nonexistent_cm", e.message)
 
     # Create an account with a bad Protocol - it should fail
-    call_create(protocol='nonexistent-protocol')
+    call_create(protocol='nonexistentprotocol')
     e = q.expect('dbus-error', method='CreateAccount')
     assertEquals(cs.NOT_IMPLEMENTED, e.name)
-    assertContains("nonexistent-protocol", e.message)
+    assertContains("nonexistentprotocol", e.message)
 
     # Create an account with incomplete Parameters - it should fail
     call_create(parameters={"account": "someguy at example.com"})

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-mission-control-6.git



More information about the Pkg-telepathy-commits mailing list