Files
edx-platform/openedx/features/calendar_sync/tests/factories.py
Nicholas D'Alfonso 858c3750b0 AA-160 calendar sync initial email
-use Amazon SES to send calendar sync email when user initially
 subscribes to the calendar sync feature
2020-07-14 10:58:01 -04:00

13 lines
323 B
Python

from factory.django import DjangoModelFactory
from openedx.features.calendar_sync.models import UserCalendarSyncConfig
class UserCalendarSyncConfigFactory(DjangoModelFactory):
"""
Factory class for SiteConfiguration model
"""
class Meta(object):
model = UserCalendarSyncConfig
enabled = True