summaryrefslogtreecommitdiffstats
path: root/tests/test-002-attendee.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-07-13 15:02:15 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-07-13 15:02:15 +0100
commit1b5a666f9a12d55a382fb608ed2cd03dba3dcf99 (patch)
treed49bdf63200712afc136bd2767044be3e1c8747c /tests/test-002-attendee.py
parent53b5d85dda5f956892a0074863d965d4c14a96fe (diff)
downloadpykolab-1b5a666f9a12d55a382fb608ed2cd03dba3dcf99.tar.gz
Fix tests for basestrings while actually we want strs
Diffstat (limited to 'tests/test-002-attendee.py')
-rw-r--r--tests/test-002-attendee.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-002-attendee.py b/tests/test-002-attendee.py
index 465349a..4298761 100644
--- a/tests/test-002-attendee.py
+++ b/tests/test-002-attendee.py
@@ -16,7 +16,7 @@ class TestEventXML(unittest.TestCase):
raise AssertionError, "%s != %s" % (type(_value), _type)
def test_001_minimal(self):
- self.assertIsInstance(self.attendee.__str__(), basestring)
+ self.assertIsInstance(self.attendee.__str__(), str)
def test_002_empty_name(self):
self.assertEqual(self.attendee.get_name(), "")