From d730b749e9965289329603bf0ac4cc9e4ef3f987 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 7 Mar 2014 19:57:49 +0200 Subject: Added Escalation.get_notes --- tests/test_gsxws.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_gsxws.py b/tests/test_gsxws.py index 5571c22..57b83ab 100644 --- a/tests/test_gsxws.py +++ b/tests/test_gsxws.py @@ -44,7 +44,8 @@ class TestTypes(TestCase): self.assertGreater(datetime.now(), self.data.createTimestamp) def test_list(self): - self.assertIsInstance(self.data.escalationNotes, list) + for x in self.data.escalationNotes.iterchildren(): + self.assertIsInstance(x.text, str) class TestErrorFunctions(TestCase): -- cgit v1.2.3