Skip to content

Commit

Permalink
server: update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
aszs committed Aug 15, 2023
1 parent ae7375e commit 88c5afa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,8 @@ def test_server_update_deployment():
res = requests.post(
f"http://localhost:{port}/clear_project_file_cache?auth_project=remote",
)
# 'remote:main::localenv', 'remote:main:ensemble/ensemble.yaml:localenv', 'remote:main:ensemble/ensemble.yaml:deployment'
assert res.content == b'2' # 2 keys deleted
# 'remote:main::localenv', 'remote:pull:...', 'remote:main:ensemble/ensemble.yaml:deployment'
assert res.content == b'3' # 3 keys deleted
assert res.status_code == 200

finally:
Expand Down

0 comments on commit 88c5afa

Please sign in to comment.