Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Skurikhin committed Sep 9, 2020
1 parent 30cff3f commit d13b506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/test_e2e_disks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def test_create_get_list_delete(helper: Helper) -> None:
cap = helper.run_cli(["disk", "ls"])
assert cap.err == ""

cap = helper.run_cli(["disk", "create", "2Gi"])
cap = helper.run_cli(["disk", "create", "2G"])
assert cap.err == ""
disk_id, *_ = cap.out.splitlines()[1].split()

Expand All @@ -19,7 +19,7 @@ def test_create_get_list_delete(helper: Helper) -> None:
cap = helper.run_cli(["disk", "get", disk_id])
assert cap.err == ""
assert disk_id in cap.out
assert "2Gi" in cap.out
assert "2.0G" in cap.out

cap = helper.run_cli(["disk", "rm", disk_id])
assert cap.err == ""
Expand Down

0 comments on commit d13b506

Please sign in to comment.