Skip to content

Commit

Permalink
Fix issue noted by flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Sep 27, 2021
1 parent 27b8360 commit 2d88889
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/pyfrontend/test_frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,8 @@ def __init__(self, tmpdir):
flask.current_app = MockApp(tmpdir)
self.assertRaises(saliweb.frontend.InputValidationError,
saliweb.frontend.get_pdb_code, "1@bc", tmpdir)
with self.assertRaises(saliweb.frontend.InputValidationError) as cm:
with self.assertRaises(
saliweb.frontend.InputValidationError) as cm:
saliweb.frontend.get_pdb_code("1aaaaaa", tmpdir)
self.assertEqual(str(cm.exception),
"PDB code '1aaaaaa' does not exist in our copy "
Expand Down

0 comments on commit 2d88889

Please sign in to comment.