diff options
author | jcass <john.cass77@gmail.com> | 2015-11-23 10:00:10 +0200 |
---|---|---|
committer | jcass <john.cass77@gmail.com> | 2015-11-23 10:00:10 +0200 |
commit | 1073a45fbba224e21e1c0873d59d6339bfffa9d4 (patch) | |
tree | 79385406da6dab8356ba93888a47e20d09bcc16d /tests | |
parent | 5b6bc20f59db8185439cb0aa01f1af7ae0318615 (diff) | |
download | pydora-1073a45fbba224e21e1c0873d59d6339bfffa9d4.tar.bz2 pydora-1073a45fbba224e21e1c0873d59d6339bfffa9d4.tar.xz pydora-1073a45fbba224e21e1c0873d59d6339bfffa9d4.zip |
Remove superfluous exception message checking.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_pandora/test_transport.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_pandora/test_transport.py b/tests/test_pandora/test_transport.py index a9261bd..746a6f6 100644 --- a/tests/test_pandora/test_transport.py +++ b/tests/test_pandora/test_transport.py | |||
@@ -11,7 +11,7 @@ from tests.test_pandora.test_clientbuilder import TestSettingsDictBuilder | |||
11 | class TestTransport(TestCase): | 11 | class TestTransport(TestCase): |
12 | 12 | ||
13 | def test_call_should_retry_max_times_on_sys_call_error(self): | 13 | def test_call_should_retry_max_times_on_sys_call_error(self): |
14 | with self.assertRaises(SysCallError) as context: | 14 | with self.assertRaises(SysCallError): |
15 | 15 | ||
16 | client = TestSettingsDictBuilder._build_minimal() | 16 | client = TestSettingsDictBuilder._build_minimal() |
17 | 17 | ||
@@ -23,4 +23,3 @@ class TestTransport(TestCase): | |||
23 | 23 | ||
24 | client.transport._start_request.assert_has_calls([call("method")]) | 24 | client.transport._start_request.assert_has_calls([call("method")]) |
25 | assert client.transport._start_request.call_count == 5 | 25 | assert client.transport._start_request.call_count == 5 |
26 | self.assertTrue('mock_error' in context.exception) | ||