mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-11 21:57:59 +00:00
Fix images.get_tag
unit test
This commit is contained in:
parent
bbd92223ee
commit
5f81aae616
@ -5,9 +5,8 @@ from tutor import images
|
||||
class ImagesTests(unittest.TestCase):
|
||||
def test_get_tag(self):
|
||||
config = {
|
||||
"DOCKER_IMAGE_OPENEDX": "openedx",
|
||||
"DOCKER_IMAGE_OPENEDX_DEV": "openedxdev",
|
||||
"DOCKER_REGISTRY": "registry/",
|
||||
"DOCKER_IMAGE_OPENEDX": "registry/openedx",
|
||||
"DOCKER_IMAGE_OPENEDX_DEV": "registry/openedxdev",
|
||||
}
|
||||
self.assertEqual("registry/openedx", images.get_tag(config, "openedx"))
|
||||
self.assertEqual("registry/openedxdev", images.get_tag(config, "openedx-dev"))
|
||||
|
Loading…
Reference in New Issue
Block a user