Closed palewire closed 1 year ago
Interesting bug. The test runs fine in my Codespace.
@palewire ➜ /workspaces/aphis-inspection-reports (pytest) $ pytest tests -sv --cov ===================================================================================== test session starts ===================================================================================== platform linux -- Python 3.9.15, pytest-7.2.0, pluggy-1.0.0 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /workspaces/aphis-inspection-reports plugins: cov-4.0.0 collected 1 item tests/test_lib.py::test_filename_from_url PASSED ---------- coverage: platform linux, python 3.9.15-final-0 ----------- Name Stmts Miss Cover --------------------------------------------- scripts/__init__.py 0 0 100% scripts/lib/__init__.py 0 0 100% scripts/lib/aphis.py 57 32 44% tests/__init__.py 0 0 100% tests/test_lib.py 3 0 100% --------------------------------------------- TOTAL 60 32 47%
I just fell behind main. Should be fine now.
Lovely, thanks!
Interesting bug. The test runs fine in my Codespace.