File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 6464 run : |
6565 uv run pytest -m "not integration_test" --cov vec_inf --cov-report=xml tests
6666
67- # Uncomment this once this repo is configured on Codecov
6867 - name : Upload coverage to Codecov
6968 uses : codecov/codecov-action@v5.4.0
7069 with :
Original file line number Diff line number Diff line change 1- # Import test for vec_inf modules
2- # This script tests the importability of all modules in the vec_inf package using only core dependencies
1+ """Test the imports of the vec_inf package."""
32
43import unittest
54
65
76class TestVecInfImports (unittest .TestCase ):
7+ """Test the imports of the vec_inf package."""
8+
89 def test_import_cli_modules (self ):
10+ """Test the imports of the vec_inf.cli modules."""
911 try :
1012 import vec_inf .cli ._cli
1113 import vec_inf .cli ._config
1214 import vec_inf .cli ._helper
13- import vec_inf .cli ._utils
15+ import vec_inf .cli ._utils # noqa: F401
1416 except ImportError as e :
1517 self .fail (f"Import failed: { e } " )
16-
17-
18- if __name__ == "__main__" :
19- unittest .main ()
You can’t perform that action at this time.
0 commit comments