We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a08b29 commit a9529a7Copy full SHA for a9529a7
1 file changed
tests.py
@@ -40,6 +40,18 @@ def test_empty_credentials_exception(self):
40
ub.Credentials(2, '')
41
42
43
+class TestGeneralError(TestCase):
44
+
45
+ def setUp(self):
46
+ self.error = ub.GeneralError('type', 'message')
47
48
+ def test_str(self):
49
+ self.assertEqual(str(self.error), 'type (message)')
50
51
+ def test_repr(self):
52
+ self.assertEqual(repr(self.error), 'GeneralError(type=type)')
53
54
55
class TestClient(TestCase):
56
57
def setUp(self):
0 commit comments