0.0.4 test failure: fixture 'vuln_service' not found
See original GitHub issueWhen running the self tests for pip-audit-0.0.4 using py.test, I see:
___________________________________________________________ ERROR at setup of test_audit ___________________________________________________________
file /scratch/wip/py-pip-audit/work/pip-audit-0.0.4/test/test_audit.py, line 10
def test_audit(vuln_service, dep_source):
E fixture 'vuln_service' not found
> available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property,
record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
> use 'pytest --fixtures [testpath]' for help on them.
/scratch/wip/py-pip-audit/work/pip-audit-0.0.4/test/test_audit.py:10
_______________________________________________________ ERROR at setup of test_audit_dry_run _______________________________________________________
file /scratch/wip/py-pip-audit/work/pip-audit-0.0.4/test/test_audit.py, line 32
def test_audit_dry_run(monkeypatch, vuln_service, dep_source):
E fixture 'vuln_service' not found
> available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property,
record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
> use 'pytest --fixtures [testpath]' for help on them.
/scratch/wip/py-pip-audit/work/pip-audit-0.0.4/test/test_audit.py:32
Issue Analytics
- State:
- Created 2 years ago
- Comments:35 (19 by maintainers)
Top Results From Across the Web
Windows Privilege Escalation — Part 1 (Unquoted Service Path)
When a service is created whose executable path contains spaces and isn't enclosed within quotes, leads to a vulnerability known as Unquoted ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you, it was very motivating tracking these issues down with you!
Tracing it I see it accessing
~/.pip/pip.conf
,~/.config/pip/pip.conf
, (and some similar paths), but they don’t exist. Ok, another nice theory down the drain 😉