Skip to content

Commit

Permalink
make an app subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
mccalluc committed Sep 26, 2024
1 parent bb4aca4 commit 6874656
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source = .

omit =
# TODO
app.py
dp_creator_ii/app/*

# More strict: Check transitions between lines, not just individual lines.
# TODO: branch = True
Expand Down
2 changes: 1 addition & 1 deletion dp_creator_ii/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def main(): # pragma: no cover

# Just setting variables in a plain python module doesn't work:
# The new thread started for the server doesn't see changes.
Path("config.json").write_text(
Path("app/config.json").write_text(
json.dumps(
{
"csv_path": str(args.csv_path),
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion dp_creator_ii/tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from shiny.pytest import create_app_fixture


app = create_app_fixture("../app.py")
app = create_app_fixture("../app/__init__.py")


# TODO: Why is incomplete coverage reported here?
Expand Down

0 comments on commit 6874656

Please sign in to comment.