mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
optimize file recursive rights
This commit is contained in:
@ -22,7 +22,7 @@ class TestFetchFamilyApi(TestCase):
|
||||
# <- user5
|
||||
|
||||
cls.main_user = baker.make(User)
|
||||
cls.users = baker.make(User, _quantity=17)
|
||||
cls.users = baker.make(User, _quantity=17, _bulk_create=True)
|
||||
cls.main_user.godfathers.add(*cls.users[0:3])
|
||||
cls.main_user.godchildren.add(*cls.users[3:6])
|
||||
cls.users[1].godfathers.add(cls.users[6])
|
||||
|
Reference in New Issue
Block a user