summaryrefslogtreecommitdiffstats
path: root/tests/unit/test-001-contact_reference.py
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2016-05-04 15:53:48 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-05-04 15:53:48 +0200
commitc204eaaa2c9a006432fe00489a352833143db01d (patch)
tree18860f2e335b9a98d34f404d5c4b81d22f2ce222 /tests/unit/test-001-contact_reference.py
parent4a24e0cc403321713ee1201ade9d36956da1c060 (diff)
downloadpykolab-c204eaaa2c9a006432fe00489a352833143db01d.tar.gz
CS fixes according to PEP8 (ignored mostly line-length errors only)
Summary: . Reviewers: #pykolab_developers Differential Revision: https://git.kolab.org/D134
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)