Skip to content

Commit

Permalink
remove dup country and locale factories fixes #2374 (#2385)
Browse files Browse the repository at this point in the history
Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
  • Loading branch information
tiftran and jaredlockhart authored Mar 17, 2020
1 parent bba8abd commit 535d0eb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 25 deletions.
21 changes: 0 additions & 21 deletions app/experimenter/base/tests/factories.py

This file was deleted.

8 changes: 6 additions & 2 deletions app/experimenter/experiments/tests/test_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@
ExperimentOrderingForm,
)
from experimenter.experiments.models import Experiment
from experimenter.base.tests.factories import CountryFactory, LocaleFactory
from experimenter.experiments.tests.factories import ExperimentFactory, UserFactory
from experimenter.experiments.tests.factories import (
ExperimentFactory,
UserFactory,
CountryFactory,
LocaleFactory,
)
from experimenter.bugzilla.tests.mixins import MockBugzillaMixin
from experimenter.experiments.tests.mixins import MockTasksMixin, MockRequestMixin

Expand Down
7 changes: 5 additions & 2 deletions app/experimenter/experiments/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@
from django.urls import reverse
from django.utils import timezone

from experimenter.base.tests.factories import CountryFactory, LocaleFactory
from experimenter.experiments.forms import NormandyIdForm
from experimenter.experiments.models import Experiment, Country, Locale
from experimenter.experiments.tests.factories import ExperimentFactory
from experimenter.experiments.tests.factories import (
ExperimentFactory,
CountryFactory,
LocaleFactory,
)

from experimenter.experiments.tests.mixins import MockTasksMixin
from experimenter.openidc.tests.factories import UserFactory
Expand Down

0 comments on commit 535d0eb

Please sign in to comment.