Skip to content

Commit

Permalink
FIX k8s tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wabscale committed Sep 15, 2022
1 parent 52113e3 commit f90e777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/tests/test_ide_k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f90e777

Please sign in to comment.