Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
withtwoemms committed Feb 27, 2024
1 parent 170c8d1 commit d06ee02
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/pokedex/db/test_models.py
Expand Up @@ -5,17 +5,13 @@


class TestReport(TestCase):

def test_report_representation(self):
results = {
"https://pokeapi.co/api/v2/pokemon/1/": True,
"https://pokeapi.co/api/v2/pokemon/2/": True,
"https://pokeapi.co/api/v2/pokemon/3/": False,
}
report = Report(persisted=results)
expected_report = json.dumps(
{"persisted": results, "count": len(results)},
indent=4
)
expected_report = json.dumps({"persisted": results, "count": len(results)}, indent=4)

assert str(report) == expected_report

0 comments on commit d06ee02

Please sign in to comment.