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