diff options
author | Filipp Lepalaan <f@230.to> | 2013-10-21 15:33:27 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-10-21 15:33:27 +0300 |
commit | 572fdfcc9fd3ab84f28665d1e55b4168c5d7b12e (patch) | |
tree | 362f9cd4a7a494ef057489465b19878eb9411839 /tests/test_gsxws.py | |
parent | f9b3ba93e92b4b3de5b093ec6e7fb3f6a6145b7b (diff) | |
download | py-gsxws-572fdfcc9fd3ab84f28665d1e55b4168c5d7b12e.tar.gz py-gsxws-572fdfcc9fd3ab84f28665d1e55b4168c5d7b12e.tar.bz2 py-gsxws-572fdfcc9fd3ab84f28665d1e55b4168c5d7b12e.zip |
Fixed GsxError message argument
Diffstat (limited to 'tests/test_gsxws.py')
-rw-r--r-- | tests/test_gsxws.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_gsxws.py b/tests/test_gsxws.py index 868a853..e59c1ff 100644 --- a/tests/test_gsxws.py +++ b/tests/test_gsxws.py @@ -41,6 +41,11 @@ class TestErrorFunctions(TestCase): def test_message(self): self.assertRegexpMatches(self.data.message, 'Multiple error messages exist.') + def test_exception(self): + msg = 'Connection failed' + e = GsxError(msg) + self.assertEqual(e.message, msg) + class TestLookupFunctions(RemoteTestCase): def test_component_check(self): |