mirror of
https://github.com/containers/podman-compose.git
synced 2025-01-27 08:19:07 +01:00
Rename test classes to match filenames
Signed-off-by: Ari Pollak <ajp@aripollak.com>
This commit is contained in:
parent
f18c8092cc
commit
829cde0de9
@ -12,7 +12,7 @@ from podman_compose import PodmanCompose
|
|||||||
from podman_compose import normalize_service
|
from podman_compose import normalize_service
|
||||||
|
|
||||||
|
|
||||||
class TestMergeBuild(unittest.TestCase):
|
class TestCanMergeBuild(unittest.TestCase):
|
||||||
@parameterized.expand([
|
@parameterized.expand([
|
||||||
({"test": "test"}, {"test": "test"}),
|
({"test": "test"}, {"test": "test"}),
|
||||||
({"build": "."}, {"build": {"context": "."}}),
|
({"build": "."}, {"build": {"context": "."}}),
|
||||||
|
@ -15,7 +15,7 @@ from podman_compose import normalize_service
|
|||||||
test_keys = ["command", "entrypoint"]
|
test_keys = ["command", "entrypoint"]
|
||||||
|
|
||||||
|
|
||||||
class TestMergeBuild(unittest.TestCase):
|
class TestCanMergeCmdEnt(unittest.TestCase):
|
||||||
@parameterized.expand([
|
@parameterized.expand([
|
||||||
({"$$$": []}, {"$$$": []}),
|
({"$$$": []}, {"$$$": []}),
|
||||||
({"$$$": ["sh"]}, {"$$$": ["sh"]}),
|
({"$$$": ["sh"]}, {"$$$": ["sh"]}),
|
||||||
|
@ -6,7 +6,7 @@ import unittest
|
|||||||
from podman_compose import compose_exec_args
|
from podman_compose import compose_exec_args
|
||||||
|
|
||||||
|
|
||||||
class TestExecArgs(unittest.TestCase):
|
class TestComposeExecArgs(unittest.TestCase):
|
||||||
def test_minimal(self):
|
def test_minimal(self):
|
||||||
cnt = get_minimal_container()
|
cnt = get_minimal_container()
|
||||||
args = get_minimal_args()
|
args = get_minimal_args()
|
||||||
|
@ -7,7 +7,7 @@ from podman_compose import PodmanCompose
|
|||||||
from podman_compose import compose_run_update_container_from_args
|
from podman_compose import compose_run_update_container_from_args
|
||||||
|
|
||||||
|
|
||||||
class TestRunArgs(unittest.TestCase):
|
class TestComposeRunUpdateContainerFromArgs(unittest.TestCase):
|
||||||
def test_minimal(self):
|
def test_minimal(self):
|
||||||
cnt = get_minimal_container()
|
cnt = get_minimal_container()
|
||||||
compose = get_minimal_compose()
|
compose = get_minimal_compose()
|
||||||
|
@ -16,7 +16,7 @@ from podman_compose import normalize_service_final
|
|||||||
cwd = os.path.abspath(".")
|
cwd = os.path.abspath(".")
|
||||||
|
|
||||||
|
|
||||||
class TestNormalizeFullBuild(unittest.TestCase):
|
class TestNormalizeFinalBuild(unittest.TestCase):
|
||||||
cases_simple_normalization = [
|
cases_simple_normalization = [
|
||||||
({"image": "test-image"}, {"image": "test-image"}),
|
({"image": "test-image"}, {"image": "test-image"}),
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user