Skip to content
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

Merged
merged 1 commit into from
May 7, 2020
Merged

Conversation

iamareebjamal
Copy link
Member

No description provided.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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
Copy link

codecov bot commented May 7, 2020

Codecov Report

Merging #6975 into development will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 82aab77...37e7192. Read the comment docs.

@iamareebjamal iamareebjamal merged commit 1afa3af into development May 7, 2020
@iamareebjamal iamareebjamal deleted the factories branch May 7, 2020 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants