[Telepathy-commits] [telepathy-salut/master] Add a small set of test constants

Will Thompson will.thompson at collabora.co.uk
Fri Feb 6 03:15:03 PST 2009


---
 tests/twisted/constants.py |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 tests/twisted/constants.py

diff --git a/tests/twisted/constants.py b/tests/twisted/constants.py
new file mode 100644
index 0000000..5a1ad81
--- /dev/null
+++ b/tests/twisted/constants.py
@@ -0,0 +1,21 @@
+"""
+Some handy constants for other tests to share and enjoy.
+"""
+
+HT_CONTACT = 1
+
+CHANNEL = "org.freedesktop.Telepathy.Channel"
+CHANNEL_TYPE_TUBES = CHANNEL + ".Type.Tubes"
+CHANNEL_TYPE_STREAM_TUBE = CHANNEL + ".Type.StreamTube.DRAFT"
+
+CHANNEL_TYPE = CHANNEL + '.ChannelType'
+TARGET_HANDLE_TYPE = CHANNEL + '.TargetHandleType'
+TARGET_HANDLE = CHANNEL + '.TargetHandle'
+
+CONN = "org.freedesktop.Telepathy.Connection"
+CONN_IFACE_REQUESTS = CONN + '.Interface.Requests'
+
+ERRORS = 'org.freedesktop.Telepathy.Errors'
+NOT_AVAILABLE = ERRORS + '.NotAvailable'
+INVALID_ARGUMENT = ERRORS + '.InvalidArgument'
+
-- 
1.5.6.5




More information about the telepathy-commits mailing list