mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Speed up tests (#638)
This commit is contained in:
@ -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