Skip to content

Commit

Permalink
Add pytest command to run unit tests and fix deprecated method usage
Browse files Browse the repository at this point in the history
  • Loading branch information
aymgal committed Jul 4, 2023
1 parent 69a5f3d commit 4211657
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pip install -r requirements.txt
pip install [-e] .
```

You can test the installation by running `python -c "import coolest"` in the terminal, or by running some of the example notebooks from the [documentation](docs/notebooks) directory.
You can test the installation by running `python -c "import coolest"` in the terminal, or by running some of the example notebooks from the [documentation](docs/notebooks) directory. Moreover, you can run all unit tests (having `pytest` installed in your environment), with the command `pytest test`.

_There will be soon the possibility to install_ `coolest` _directly from PyPi and Conda._

Expand Down
2 changes: 1 addition & 1 deletion test/template/json_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class TestJSONSerialization(object):

def setup(self):
def setup_method(self):
self.template_name = 'test'
self.check_files = True

Expand Down

0 comments on commit 4211657

Please sign in to comment.