Skip to content

Commit

Permalink
remove dup country and locale factories fixes mozilla#2374
Browse files Browse the repository at this point in the history
  • Loading branch information
tiftran committed Mar 15, 2020
1 parent 6c0ea8b commit 557afbc
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 557afbc

Please sign in to comment.