File tree Expand file tree Collapse file tree 7 files changed +14
-14
lines changed
Expand file tree Collapse file tree 7 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 88from 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
1313pytest_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
Original file line number Diff line number Diff line change 55import pytest
66
77from 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
Original file line number Diff line number Diff line change 33import pytest
44
55from 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
Original file line number Diff line number Diff line change 55import pytest
66
77from 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
Original file line number Diff line number Diff line change 55import pytest
66
77from 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
Original file line number Diff line number Diff line change 1111
1212from cppython .test .mock .generator import MockGenerator
1313from 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
Original file line number Diff line number Diff line change 55import pytest
66
77from 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
You can’t perform that action at this time.
0 commit comments