mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-13 22:26:01 +00:00
Speed up tests (#638)
This commit is contained in:
1 parent
66fcb76cb5
commit
96dede5077
19 files changed
+191
-200
No files matched your search
@@ -102,9 +102,9 @@ class SubscriptionUnitTest(TestCase):
|
||||
|
||||
|
||||
class SubscriptionIntegrationTest(TestCase):
|
||||
def setUp(self):
|
||||
call_command("populate")
|
||||
self.user = User.objects.filter(username="public").first()
|
||||
@classmethod
|
||||
def setUp(cls):
|
||||
cls.user = User.objects.filter(username="public").first()
|
||||
|
||||
def test_duration_one_month(self):
|
||||
s = Subscription(
|
||||
|
||||
Reference in new issue
Block a user