UPD: improved the providing of real test data.
This commit is contained in:
@@ -46,7 +46,7 @@ class UtilsTestCase(RegistrationMixin, EventMixin, TestCase):
|
||||
data = common_event_data.copy()
|
||||
data['first_day'] = first_day
|
||||
|
||||
event = self.create_event(data)
|
||||
event = self.create_event_by_model(data)
|
||||
self.submit_event(event)
|
||||
self.accept_event(event)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user