Skip to content

Commit

Permalink
ngr: Fix Python runner about pytest --config-file=.
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Nov 1, 2023
1 parent 8a91de1 commit 1dfd8fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- ngr: Add runner for Haskell projects
- ngr: Fix Python runner about `error: Multiple top-level modules discovered in
a flat-layout`
- ngr: Fix Python runner about `pytest --config-file=.`

## 2023-10-30 v0.0.1
- Add `pueblo.util.logging.setup_logging`, nomen est omen
Expand Down
2 changes: 1 addition & 1 deletion pueblo/ngr/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def test(self) -> None:
else:
has_pytest = shutil.which("pytest") is not None
if has_pytest:
run_command("pytest --config-file=.")
run_command("pytest")
else:
raise NotImplementedError("No handler to invoke Python item")

Check warning on line 468 in pueblo/ngr/runner.py

View check run for this annotation

Codecov / codecov/patch

pueblo/ngr/runner.py#L468

Added line #L468 was not covered by tests

Expand Down

0 comments on commit 1dfd8fb

Please sign in to comment.