Skip to content

Misleading output for invalid test/category #136

@ElliottKasoar

Description

@ElliottKasoar

Summary

ml_peg analyse --category molecular --test diatomicss 

============================================================================ test session starts ============================================================================
platform darwin -- Python 3.12.9, pytest-8.4.2, pluggy-1.6.0 -- /Users/joehart/Desktop/0_Cambridge/0_MPhil_Scientific_Computing/MPhil_project/mlipx_testing/new_format/mlip-testing/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /Users/joehart/Desktop/0_Cambridge/0_MPhil_Scientific_Computing/MPhil_project/mlipx_testing/new_format/mlip-testing
configfile: pyproject.toml
plugins: anyio-4.11.0, timeout-2.4.0, cov-4.1.0, dash-3.2.0, hydra-core-1.3.2
collected 1 item                                                                                                                                                            

tests/test_mlip_testing.py::test_import PASSED

============================================================================= 1 passed in 0.24s =============================================================================

This should raise an error, but shows as passed.

Platform

N/A

Python version

Python 3.12

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions