From f90e777a11f5aa21d2a86eb7397c743162f87310 Mon Sep 17 00:00:00 2001 From: John McCann Cunniff Jr Date: Thu, 15 Sep 2022 00:37:52 -0400 Subject: [PATCH] FIX k8s tests --- api/tests/test_ide_k8s.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/tests/test_ide_k8s.py b/api/tests/test_ide_k8s.py index 2485f4825..f96811ca3 100644 --- a/api/tests/test_ide_k8s.py +++ b/api/tests/test_ide_k8s.py @@ -117,7 +117,7 @@ def _check_playground(_ide_id): # Check env sidecar_env = {env.name: env.value for env in sidecar_container.env} - assert sidecar_env == {'AUTOSAVE': 'OFF', 'NETID': s.netid, 'GIT_CRED': None} + assert sidecar_env == {'AUTOSAVE': 'OFF', 'NETID': s.netid, 'GIT_CRED': None, 'GIT_REPO': '',} # Check ports assert sidecar_container.ports is None @@ -254,7 +254,7 @@ def _check_assignment_ide(_ide_id): # Check env sidecar_env = {env.name: env.value for env in sidecar_container.env} - assert sidecar_env == {'AUTOSAVE': 'ON', 'NETID': s.netid, 'GIT_CRED': None} + assert sidecar_env == {'AUTOSAVE': 'ON', 'NETID': s.netid, 'GIT_CRED': None, 'GIT_REPO': 'https://github.com/AnubisLMS/xv6'} # Check ports assert sidecar_container.ports is None