Skip to content

Commit

Permalink
Fix test_quota to respect constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Sep 19, 2024
1 parent 59d05d6 commit 010c65d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/data/test_quota.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import uuid

from galaxy import model
from galaxy.model.unittest_utils.utils import random_email
from galaxy.objectstore import (
QuotaSourceInfo,
QuotaSourceMap,
Expand All @@ -16,7 +17,7 @@ class TestPurgeUsage(BaseModelTestCase):
def setUp(self):
super().setUp()
model = self.model
u = model.User(email="[email protected]", password="password")
u = model.User(email=random_email(), password="password")
u.disk_usage = 25
self.persist(u)

Expand Down

0 comments on commit 010c65d

Please sign in to comment.