aboutsummaryrefslogtreecommitdiff
path: root/tests/test_pandora/test_errors.py
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2020-06-08 18:20:57 +0000
committerMike Crute <mike@crute.us>2020-06-08 18:20:57 +0000
commit3681a9b616212656462efa0a9c78722f90cca442 (patch)
tree0199712af2f8abc5635d57d7e18ec63fe6d8b58e /tests/test_pandora/test_errors.py
parent13b779eafd66a37ad5c50fa9be2bbc7962a73fce (diff)
downloadpydora-3681a9b616212656462efa0a9c78722f90cca442.tar.bz2
pydora-3681a9b616212656462efa0a9c78722f90cca442.tar.xz
pydora-3681a9b616212656462efa0a9c78722f90cca442.zip
Use black for formatting
I don't particularly like the black formatter (does anybody, really?) but it's guaranteed to be consistent so it should prevent nitpicking style.
Diffstat (limited to 'tests/test_pandora/test_errors.py')
-rw-r--r--tests/test_pandora/test_errors.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_pandora/test_errors.py b/tests/test_pandora/test_errors.py
index 778771a..d9df41f 100644
--- a/tests/test_pandora/test_errors.py
+++ b/tests/test_pandora/test_errors.py
@@ -4,7 +4,6 @@ from pandora.errors import InternalServerError, PandoraException
4 4
5 5
6class TestPandoraExceptionConstructionFromErrorCode(TestCase): 6class TestPandoraExceptionConstructionFromErrorCode(TestCase):
7
8 def test_it_returns_specific_error_class_if_possible(self): 7 def test_it_returns_specific_error_class_if_possible(self):
9 error = PandoraException.from_code(0, "Test Message") 8 error = PandoraException.from_code(0, "Test Message")
10 self.assertIsInstance(error, InternalServerError) 9 self.assertIsInstance(error, InternalServerError)