Skip to content

Commit

Permalink
Fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
gsa-suk committed May 10, 2024
1 parent 9b61a00 commit d72060e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions backend/audit/test_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,14 +895,18 @@ def test_error_raised_for_missing_required_fields_with_not_gaap(self):
]:
case = jsoncopy(self.SIMPLE_CASES[1])
del case[required_field]
self.assertRaises(ValidationError, validate_audit_information_json, case, False)
self.assertRaises(
ValidationError, validate_audit_information_json, case, False
)

def test_error_raised_for_missing_required_fields(self):
"""Test that missing required fields raises a validation error."""
for key in self.SIMPLE_CASES[0].keys():
case = jsoncopy(self.SIMPLE_CASES[0])
del case[key]
self.assertRaises(ValidationError, validate_audit_information_json, case, False)
self.assertRaises(
ValidationError, validate_audit_information_json, case, False
)

def test_gsa_migration(self):
case = jsoncopy(self.SIMPLE_CASES[1])
Expand Down

0 comments on commit d72060e

Please sign in to comment.