summaryrefslogtreecommitdiffstats
path: root/tests/unit/test-001-contact_reference.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/test-001-contact_reference.py')
-rw-r--r--tests/unit/test-001-contact_reference.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/test-001-contact_reference.py b/tests/unit/test-001-contact_reference.py
index 7c8f128..a566f9e 100644
--- a/tests/unit/test-001-contact_reference.py
+++ b/tests/unit/test-001-contact_reference.py
@@ -3,6 +3,7 @@ import unittest
from pykolab.xml import ContactReference
+
class TestEventXML(unittest.TestCase):
contact_reference = ContactReference("jane@doe.org")
@@ -13,7 +14,7 @@ class TestEventXML(unittest.TestCase):
if (type(_value)) == _type:
return True
else:
- raise AssertionError, "%s != %s" % (type(_value), _type)
+ raise AssertionError("%s != %s" % (type(_value), _type))
def test_001_minimal(self):
self.assertIsInstance(self.contact_reference.__str__(), str)