Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias committed Aug 24, 2023
1 parent 1acce86 commit 12be9f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bioblend/_tests/TestGalaxyQuotas.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ def test_update_quota_nondefault(self):
response = self.gi.quotas.update_quota(
self.quota["id"],
name=self.quota_name + "-updated",
default = None,
)
default=None,
)
assert f"""Quota '{self.quota_name}' has been renamed to '{self.quota_name}-updated'""" in response
quota = self.gi.quotas.show_quota(self.quota["id"])
assert quota["default"] == "no"
assert quota["default"] == [] # non-default quotas have []

def test_delete_undelete_quota(self):
self.gi.quotas.update_quota(self.quota["id"], default="no")
Expand Down

0 comments on commit 12be9f7

Please sign in to comment.