Working tests

This commit is contained in:
Igor Radovanovic
2023-10-04 23:12:03 +02:00
parent 66dbb9a1df
commit 46f17be1a8
4 changed files with 15 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
"""Test the integration tests."""
import pytest
from extensions.tests.utils.integration_tests_testers import (
check_missing_integration_test_params,
check_missing_integration_test_providers,
@@ -16,11 +17,14 @@ def run_test(test_type: str, check_function) -> None:
assert not missing_items, "\n".join(missing_items)
# TODO: Check if this can work without being an integration test
@pytest.mark.integration
def test_python_interface_integration_test_providers() -> None:
"""Test if there are any missing providers for integration tests."""
run_test("python", check_missing_integration_test_providers)
@pytest.mark.integration
def test_python_interface_integration_test_params() -> None:
"""Test if there are any missing params for integration tests."""
run_test("python", check_missing_integration_test_params)