Skip to content

Commit

Permalink
Move unit tests to tests/ (#535)
Browse files Browse the repository at this point in the history
* Move `scvelo/core/tests` to `tests/core`

Moves unit tests `scvelo/core/tests` to `tests/core`. This will, for
example, prevent installation files becoming large when including data
or ground truth figures.

* Add `tests/__init__.py`

Makes `tests/` a package. This is needed to e.g. import from `tests/core`
later on.

* Update pytest.ini

Remove `scvelo` from testpaths.
  • Loading branch information
WeilerP authored Jul 17, 2021
1 parent 5ca7e7a commit ba75c4a
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[pytest]
python_files = test_*.py
testpaths =
tests
scvelo
testpaths = tests/
xfail_strict = true
Empty file added tests/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ba75c4a

Please sign in to comment.