Skip to content

Commit

Permalink
Move test file around to avoid ImportError
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Sep 2, 2021
1 parent 806030f commit 4d20063
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
cargo run -- build -i pypy3 -m test-crates/pyo3-mixed-submodule/Cargo.toml
pypy3 -m pip install --force-reinstall --no-index --find-links test-crates/pyo3-mixed-submodule/target/wheels pyo3-mixed-submodule
pypy3 -m pip install pytest
pypy3 -m pytest test-crates/pyo3-mixed-submodule/test_pyo3_mixed_submodule.py
pypy3 -m pytest test-crates/pyo3-mixed-submodule/tests/
test-auditwheel:
name: Test Auditwheel
Expand Down
2 changes: 1 addition & 1 deletion test-crates/pyo3-mixed-submodule/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ Run it:
tox
```

The tests are in `test_pyo3_mixed_submodule.py`, while the configuration is in tox.ini
The tests are in `tests/test_pyo3_mixed_submodule.py`, while the configuration is in tox.ini
2 changes: 1 addition & 1 deletion test-crates/pyo3-mixed-submodule/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ isolated_build = True

[testenv]
deps = pytest
commands = pytest
commands = pytest tests/

0 comments on commit 4d20063

Please sign in to comment.