Rename test classes to match filenames

Signed-off-by: Ari Pollak <ajp@aripollak.com>
This commit is contained in:
Ari Pollak 2024-03-09 16:34:06 -05:00
parent f18c8092cc
commit 829cde0de9
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"}),
(