Skip to content

Commit

Permalink
Check quota id in more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Jan 16, 2024
1 parent b598f55 commit 96420f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bioblend/_tests/TestGalaxyQuotas.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def tearDown(self):

def test_create_quota(self):
quota = self.gi.quotas.show_quota(self.quota["id"])
assert quota["id"] == self.quota["id"]
assert quota["name"] == self.quota_name
assert quota["bytes"] == 107374182400
assert quota["operation"] == "="
Expand All @@ -39,6 +40,7 @@ def test_update_quota(self):
assert f"""Quota '{self.quota_name}' has been renamed to '{self.quota_name}-new'""" in response

quota = self.gi.quotas.show_quota(self.quota["id"])
assert quota["id"] == self.quota["id"]
assert quota["name"] == self.quota_name + "-new"
assert quota["bytes"] == 10995116277
assert quota["operation"] == "-"
Expand Down

0 comments on commit 96420f7

Please sign in to comment.