summaryrefslogtreecommitdiff
path: root/test/units/modules/cloud/docker/test_docker.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/units/modules/cloud/docker/test_docker.py')
-rw-r--r--test/units/modules/cloud/docker/test_docker.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/units/modules/cloud/docker/test_docker.py b/test/units/modules/cloud/docker/test_docker.py
deleted file mode 100644
index 3264e7dfb1..0000000000
--- a/test/units/modules/cloud/docker/test_docker.py
+++ /dev/null
@@ -1,20 +0,0 @@
-import collections
-import os
-import unittest
-
-from ansible.modules.cloud.docker._docker import get_split_image_tag
-
-
-class DockerSplitImageTagTestCase(unittest.TestCase):
-
- def test_trivial(self):
- self.assertEqual(get_split_image_tag('test'), ('test', 'latest'))
-
- def test_with_org_name(self):
- self.assertEqual(get_split_image_tag('ansible/centos7-ansible'), ('ansible/centos7-ansible', 'latest'))
-
- def test_with_tag(self):
- self.assertEqual(get_split_image_tag('test:devel'), ('test', 'devel'))
-
- def test_with_tag_and_org_name(self):
- self.assertEqual(get_split_image_tag('ansible/centos7-ansible:devel'), ('ansible/centos7-ansible', 'devel'))