diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_backend_config.py | 5 | ||||
-rw-r--r-- | tests/test_target_config.py | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_backend_config.py b/tests/test_backend_config.py index 700534f..bdea03e 100644 --- a/tests/test_backend_config.py +++ b/tests/test_backend_config.py @@ -20,7 +20,10 @@ def test_system() -> None: def test_backend_config() -> None: """Test the class 'BackendConfiguration'.""" cfg = BackendConfiguration( - [AdviceCategory.COMPATIBILITY], [System.CURRENT], BackendType.CUSTOM + [AdviceCategory.COMPATIBILITY], + [System.CURRENT], + BackendType.CUSTOM, + None, ) assert cfg.supported_advice == [AdviceCategory.COMPATIBILITY] assert cfg.supported_systems == [System.CURRENT] diff --git a/tests/test_target_config.py b/tests/test_target_config.py index 368d394..8055af0 100644 --- a/tests/test_target_config.py +++ b/tests/test_target_config.py @@ -112,6 +112,7 @@ def test_target_info( [AdviceCategory.COMPATIBILITY], [System.CURRENT], BackendType.BUILTIN, + None, ), ) monkeypatch.setattr("mlia.target.config.backend_registry", backend_registry) |