Skip to content

Commit

Permalink
Merge pull request #888 from aripollak/fix-test-class-names
Browse files Browse the repository at this point in the history
Rename test classes to match filenames
  • Loading branch information
p12tic authored Mar 9, 2024
2 parents d53df30 + 829cde0 commit abb0cb1
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pytests/test_can_merge_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from podman_compose import normalize_service


class TestMergeBuild(unittest.TestCase):
class TestCanMergeBuild(unittest.TestCase):
@parameterized.expand([
({"test": "test"}, {"test": "test"}),
({"build": "."}, {"build": {"context": "."}}),
Expand Down
2 changes: 1 addition & 1 deletion pytests/test_can_merge_cmd_ent.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
test_keys = ["command", "entrypoint"]


class TestMergeBuild(unittest.TestCase):
class TestCanMergeCmdEnt(unittest.TestCase):
@parameterized.expand([
({"$$$": []}, {"$$$": []}),
({"$$$": ["sh"]}, {"$$$": ["sh"]}),
Expand Down
2 changes: 1 addition & 1 deletion pytests/test_compose_exec_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
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()
Expand Down
2 changes: 1 addition & 1 deletion pytests/test_compose_run_update_container_from_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
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()
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pytests/test_normalize_final_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
cwd = os.path.abspath(".")


class TestNormalizeFullBuild(unittest.TestCase):
class TestNormalizeFinalBuild(unittest.TestCase):
cases_simple_normalization = [
({"image": "test-image"}, {"image": "test-image"}),
(
Expand Down

0 comments on commit abb0cb1

Please sign in to comment.