From 5f81aae6164ecb113419d9af8e06eaf6b482df64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Tue, 21 Jul 2020 09:28:21 +0200 Subject: [PATCH] Fix `images.get_tag` unit test --- tests/test_images.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_images.py b/tests/test_images.py index 029eb56..525dac9 100644 --- a/tests/test_images.py +++ b/tests/test_images.py @@ -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"))