[telepathy-salut/master] test-caps-self: TELEPATHY_CAPS is now in ns
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Wed Apr 1 04:10:39 PDT 2009
---
tests/twisted/avahi/test-caps-self.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/tests/twisted/avahi/test-caps-self.py b/tests/twisted/avahi/test-caps-self.py
index 791928b..5e8ab53 100644
--- a/tests/twisted/avahi/test-caps-self.py
+++ b/tests/twisted/avahi/test-caps-self.py
@@ -24,7 +24,6 @@ import dbus
HT_CONTACT = 1
caps_iface = 'org.freedesktop.Telepathy.' + \
'Connection.Interface.ContactCapabilities.DRAFT'
-NS_TELEPATHY_CAPS = 'http://telepathy.freedesktop.org/caps'
def check_caps(txt, ver):
for (key, val) in { "1st": "test",
@@ -35,7 +34,7 @@ def check_caps(txt, ver):
assert v == val, (key, val, v)
assert txt_get_key(txt, "hash") == "sha-1"
- assert txt_get_key(txt, "node") == NS_TELEPATHY_CAPS
+ assert txt_get_key(txt, "node") == ns.TELEPATHY_CAPS
v = txt_get_key(txt, "ver")
assert v == ver, (v, ver)
--
1.5.6.5
More information about the telepathy-commits
mailing list