Merge pull request #888 from aripollak/fix-test-class-names

Rename test classes to match filenames
This commit is contained in:
Povilas Kanapickas 2024-03-10 00:21:20 +02:00 committed by GitHub
commit abb0cb1649
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ from podman_compose import PodmanCompose
from podman_compose import normalize_service
class TestMergeBuild(unittest.TestCase):
class TestCanMergeBuild(unittest.TestCase):
@parameterized.expand([
({"test": "test"}, {"test": "test"}),
({"build": "."}, {"build": {"context": "."}}),

View File

@ -15,7 +15,7 @@ from podman_compose import normalize_service
test_keys = ["command", "entrypoint"]
class TestMergeBuild(unittest.TestCase):
class TestCanMergeCmdEnt(unittest.TestCase):
@parameterized.expand([
({"$$$": []}, {"$$$": []}),
({"$$$": ["sh"]}, {"$$$": ["sh"]}),

View File

@ -6,7 +6,7 @@ import unittest
from podman_compose import compose_exec_args
class TestExecArgs(unittest.TestCase):
class TestComposeExecArgs(unittest.TestCase):
def test_minimal(self):
cnt = get_minimal_container()
args = get_minimal_args()

View File

@ -7,7 +7,7 @@ from podman_compose import PodmanCompose
from podman_compose import compose_run_update_container_from_args
class TestRunArgs(unittest.TestCase):
class TestComposeRunUpdateContainerFromArgs(unittest.TestCase):
def test_minimal(self):
cnt = get_minimal_container()
compose = get_minimal_compose()

View File

@ -16,7 +16,7 @@ from podman_compose import normalize_service_final
cwd = os.path.abspath(".")
class TestNormalizeFullBuild(unittest.TestCase):
class TestNormalizeFinalBuild(unittest.TestCase):
cases_simple_normalization = [
({"image": "test-image"}, {"image": "test-image"}),
(