diff options
author | Filipp Lepalaan <filipp@mac.com> | 2014-03-07 19:57:49 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2014-03-07 19:57:49 +0200 |
commit | d730b749e9965289329603bf0ac4cc9e4ef3f987 (patch) | |
tree | 1b381dfe2a4a8e2f295b84172b02bd4fdcf21f04 /tests/test_gsxws.py | |
parent | 79e4628a53f1cac06f6426b301dafa1351412702 (diff) | |
download | py-gsxws-d730b749e9965289329603bf0ac4cc9e4ef3f987.tar.gz py-gsxws-d730b749e9965289329603bf0ac4cc9e4ef3f987.tar.bz2 py-gsxws-d730b749e9965289329603bf0ac4cc9e4ef3f987.zip |
Added Escalation.get_notes
Diffstat (limited to 'tests/test_gsxws.py')
-rw-r--r-- | tests/test_gsxws.py | 3 |
1 files changed, 2 insertions, 1 deletions
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): |