mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-22 16:03:16 +01:00
Merge pull request #888 from aripollak/fix-test-class-names
Rename test classes to match filenames
This commit is contained in:
commit
abb0cb1649
@ -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": "."}}),
|
||||
|
@ -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"]}),
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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"}),
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user