Skip to content

Commit 74fed9a

Browse files
committed
Test Cleanup
1 parent b5f3717 commit 74fed9a

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

tests/unit/plugins/cmake/test_generator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
from cppython.plugins.cmake.schema import (
99
CMakeConfiguration,
1010
)
11-
from cppython.test.pytest.contracts import GeneratorTestContract
11+
from cppython.test.pytest.contracts import GeneratorUnitTestContract
1212

1313
pytest_plugins = ['tests.fixtures.cmake']
1414

1515

16-
class TestCPPythonGenerator(GeneratorTestContract[CMakeGenerator]):
16+
class TestCPPythonGenerator(GeneratorUnitTestContract[CMakeGenerator]):
1717
"""The tests for the CMake generator"""
1818

1919
@staticmethod

tests/unit/plugins/conan/test_provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
import pytest
66

77
from cppython.plugins.conan.plugin import ConanProvider
8-
from cppython.test.pytest.contracts import ProviderTestContract
8+
from cppython.test.pytest.contracts import ProviderUnitTestContract
99

1010

11-
class TestConanProvider(ProviderTestContract[ConanProvider]):
11+
class TestConanProvider(ProviderUnitTestContract[ConanProvider]):
1212
"""The tests for the Conan Provider"""
1313

1414
@staticmethod

tests/unit/plugins/git/test_version_control.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import pytest
44

55
from cppython.plugins.git.plugin import GitSCM
6-
from cppython.test.pytest.contracts import SCMTestContract
6+
from cppython.test.pytest.contracts import SCMUnitTestContract
77

88

9-
class TestGitInterface(SCMTestContract[GitSCM]):
9+
class TestGitInterface(SCMUnitTestContract[GitSCM]):
1010
"""Unit tests for the Git SCM plugin"""
1111

1212
@staticmethod

tests/unit/plugins/vcpkg/test_provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
import pytest
66

77
from cppython.plugins.vcpkg.plugin import VcpkgProvider
8-
from cppython.test.pytest.contracts import ProviderTestContract
8+
from cppython.test.pytest.contracts import ProviderUnitTestContract
99

1010

11-
class TestCPPythonProvider(ProviderTestContract[VcpkgProvider]):
11+
class TestCPPythonProvider(ProviderUnitTestContract[VcpkgProvider]):
1212
"""The tests for the vcpkg Provider"""
1313

1414
@staticmethod

tests/unit/test/test_generator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
import pytest
66

77
from cppython.test.mock.generator import MockGenerator
8-
from cppython.test.pytest.contracts import GeneratorTestContract
8+
from cppython.test.pytest.contracts import GeneratorUnitTestContract
99

1010

11-
class TestCPPythonGenerator(GeneratorTestContract[MockGenerator]):
11+
class TestCPPythonGenerator(GeneratorUnitTestContract[MockGenerator]):
1212
"""The tests for the Mock generator"""
1313

1414
@staticmethod

tests/unit/test/test_provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
from cppython.test.mock.generator import MockGenerator
1313
from cppython.test.mock.provider import MockProvider
14-
from cppython.test.pytest.contracts import ProviderTestContract
14+
from cppython.test.pytest.contracts import ProviderUnitTestContract
1515

1616

17-
class TestMockProvider(ProviderTestContract[MockProvider]):
17+
class TestMockProvider(ProviderUnitTestContract[MockProvider]):
1818
"""The tests for our Mock provider"""
1919

2020
@staticmethod

tests/unit/test/test_scm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
import pytest
66

77
from cppython.test.mock.scm import MockSCM
8-
from cppython.test.pytest.contracts import SCMTestContract
8+
from cppython.test.pytest.contracts import SCMUnitTestContract
99

1010

11-
class TestCPPythonSCM(SCMTestContract[MockSCM]):
11+
class TestCPPythonSCM(SCMUnitTestContract[MockSCM]):
1212
"""The tests for the Mock version control"""
1313

1414
@staticmethod

0 commit comments

Comments
 (0)