-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Move factories to tests folder #6975
Conversation
from tests.factories.feedback import FeedbackFactory | ||
from tests.factories.service import ServiceFactory | ||
from tests.factories.message_setting import MessageSettingsFactory | ||
from tests.factories.user_favourite_events import UserFavouriteEventFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.user_email import UserEmailFactory | ||
from tests.factories.feedback import FeedbackFactory | ||
from tests.factories.service import ServiceFactory | ||
from tests.factories.message_setting import MessageSettingsFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.faq_type import FaqTypeFactory | ||
from tests.factories.user_email import UserEmailFactory | ||
from tests.factories.feedback import FeedbackFactory | ||
from tests.factories.service import ServiceFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.order import OrderFactory | ||
from tests.factories.faq_type import FaqTypeFactory | ||
from tests.factories.user_email import UserEmailFactory | ||
from tests.factories.feedback import FeedbackFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.mail import MailFactory | ||
from tests.factories.order import OrderFactory | ||
from tests.factories.faq_type import FaqTypeFactory | ||
from tests.factories.user_email import UserEmailFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.ticket_fee import TicketFeesFactory | ||
from tests.factories.role_invite import RoleInviteFactory | ||
from tests.factories.custom_placeholder import CustomPlaceholderFactory | ||
from tests.factories.user_permission import UserPermissionFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.module import ModuleFactory | ||
from tests.factories.ticket_fee import TicketFeesFactory | ||
from tests.factories.role_invite import RoleInviteFactory | ||
from tests.factories.custom_placeholder import CustomPlaceholderFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.role import RoleFactory | ||
from tests.factories.module import ModuleFactory | ||
from tests.factories.ticket_fee import TicketFeesFactory | ||
from tests.factories.role_invite import RoleInviteFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.ticket_tag import TicketTagFactory | ||
from tests.factories.role import RoleFactory | ||
from tests.factories.module import ModuleFactory | ||
from tests.factories.ticket_fee import TicketFeesFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.track import TrackFactory | ||
from tests.factories.ticket_tag import TicketTagFactory | ||
from tests.factories.role import RoleFactory | ||
from tests.factories.module import ModuleFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.session_type import SessionTypeFactory | ||
from tests.factories.track import TrackFactory | ||
from tests.factories.ticket_tag import TicketTagFactory | ||
from tests.factories.role import RoleFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.attendee import AttendeeFactory | ||
from tests.factories.session_type import SessionTypeFactory | ||
from tests.factories.track import TrackFactory | ||
from tests.factories.ticket_tag import TicketTagFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.ticket import TicketFactory | ||
from tests.factories.attendee import AttendeeFactory | ||
from tests.factories.session_type import SessionTypeFactory | ||
from tests.factories.track import TrackFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.speaker import SpeakerFactory | ||
from tests.factories.ticket import TicketFactory | ||
from tests.factories.attendee import AttendeeFactory | ||
from tests.factories.session_type import SessionTypeFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.session import SessionFactory | ||
from tests.factories.speaker import SpeakerFactory | ||
from tests.factories.ticket import TicketFactory | ||
from tests.factories.attendee import AttendeeFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.faq import FaqFactory | ||
from tests.factories.event_topic import EventTopicFactory | ||
from tests.factories.event_invoice import EventInvoiceFactory | ||
from tests.factories.event_sub_topic import EventSubTopicFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.custom_form import CustomFormFactory | ||
from tests.factories.faq import FaqFactory | ||
from tests.factories.event_topic import EventTopicFactory | ||
from tests.factories.event_invoice import EventInvoiceFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.access_code import AccessCodeFactory | ||
from tests.factories.custom_form import CustomFormFactory | ||
from tests.factories.faq import FaqFactory | ||
from tests.factories.event_topic import EventTopicFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.discount_code import DiscountCodeFactory, DiscountCodeTicketFactory | ||
from tests.factories.access_code import AccessCodeFactory | ||
from tests.factories.custom_form import CustomFormFactory | ||
from tests.factories.faq import FaqFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.event_type import EventTypeFactory | ||
from tests.factories.discount_code import DiscountCodeFactory, DiscountCodeTicketFactory | ||
from tests.factories.access_code import AccessCodeFactory | ||
from tests.factories.custom_form import CustomFormFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.setting import SettingFactory | ||
from tests.factories.event_type import EventTypeFactory | ||
from tests.factories.discount_code import DiscountCodeFactory, DiscountCodeTicketFactory | ||
from tests.factories.access_code import AccessCodeFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.event_copyright import EventCopyrightFactory | ||
from tests.factories.setting import SettingFactory | ||
from tests.factories.event_type import EventTypeFactory | ||
from tests.factories.discount_code import DiscountCodeFactory, DiscountCodeTicketFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.page import PageFactory | ||
from tests.factories.event_copyright import EventCopyrightFactory | ||
from tests.factories.setting import SettingFactory | ||
from tests.factories.event_type import EventTypeFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.image_size import EventImageSizeFactory, SpeakerImageSizeFactory | ||
from tests.factories.page import PageFactory | ||
from tests.factories.event_copyright import EventCopyrightFactory | ||
from tests.factories.setting import SettingFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.microlocation import MicrolocationFactory | ||
from tests.factories.image_size import EventImageSizeFactory, SpeakerImageSizeFactory | ||
from tests.factories.page import PageFactory | ||
from tests.factories.event_copyright import EventCopyrightFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.custom_system_role import CustomSysRoleFactory | ||
from tests.factories.panel_permission import PanelPermissionFactory | ||
from tests.factories.user import UserFactory | ||
from tests.factories.notification_action import NotificationActionFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from tests.factories.event_location import EventLocationFactory | ||
from tests.factories.custom_system_role import CustomSysRoleFactory | ||
from tests.factories.panel_permission import PanelPermissionFactory | ||
from tests.factories.user import UserFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from app.factories.user_favourite_events import UserFavouriteEventFactory | ||
from tests.factories.event_location import EventLocationFactory | ||
from tests.factories.custom_system_role import CustomSysRoleFactory | ||
from tests.factories.panel_permission import PanelPermissionFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from app.factories.message_setting import MessageSettingsFactory | ||
from app.factories.user_favourite_events import UserFavouriteEventFactory | ||
from tests.factories.event_location import EventLocationFactory | ||
from tests.factories.custom_system_role import CustomSysRoleFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
from app.factories.service import ServiceFactory | ||
from app.factories.message_setting import MessageSettingsFactory | ||
from app.factories.user_favourite_events import UserFavouriteEventFactory | ||
from tests.factories.event_location import EventLocationFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module level import not at top of file
Codecov Report
@@ Coverage Diff @@
## development #6975 +/- ##
============================================
Coverage 60.87% 60.87%
============================================
Files 259 259
Lines 13564 13564
============================================
Hits 8257 8257
Misses 5307 5307 Continue to review full report at Codecov.
|
No description provided.