Skip to content

Commit

Permalink
(#23) pokedex#22: "adds install info"
Browse files Browse the repository at this point in the history
  • Loading branch information
withtwoemms committed Feb 27, 2024
1 parent cc8d34d commit 267e1b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -8,7 +8,13 @@ This project uses [`poetry`](https://python-poetry.org/) as it's build tool.
It can be installed with:

```
pip install poetry
pip install -r requirements.txt
```

This project and its dependencies can be installed with:

```
poetry install
```

Once installed, scripts can executed using the `run` subcommand.
Expand Down
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 267e1b4

Please sign in to comment.