UPD: improved the providing of real test data.

This commit is contained in:
2019-04-04 11:51:03 +02:00
parent b31b7e8a44
commit d2c52a27e7
6 changed files with 89 additions and 38 deletions

View File

@@ -92,7 +92,7 @@ class EmailsTestCase(EmailTestMixin, EventMixin, RegistrationMixin, TestCase):
app_config = apps.get_app_config('dav_events')
app_config.settings.enable_email_on_status_update = False
self.event = self.create_event()
self.event = self.create_event_by_model()
self.submit_event(self.event)
self.accept_event(self.event)
self.confirm_publication_event(self.event)