File indexing completed on 2025-01-30 09:19:26
0001
0002
0003
0004
0005 import pytest
0006
0007
0008 def raises_value_error():
0009 raise ValueError("Invalid value")
0010
0011
0012 def test_raises_value_error():
0013 with pytest.raises(ValueError, match="Invalid value"):
0014 raises_value_error()
0015
0016
0017 def test_import_pyrobird_cli():
0018 """Test if the pyrobird.cli module can be imported."""
0019 try:
0020 from pyrobird import cli
0021 except ImportError as e:
0022 assert False, f"Failed to import pyrobird.cli: {e}"