From e9327a95f413e5e705ccd2968839e1ecb1350f3b Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Wed, 13 Dec 2017 16:23:58 +0000 Subject: [PATCH] Move the tests into their own folder --- opentech/apply/tests/__init__.py | 0 opentech/apply/{ => tests}/factories.py | 2 +- opentech/apply/{tests.py => tests/test_workflow.py} | 3 ++- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 opentech/apply/tests/__init__.py rename opentech/apply/{ => tests}/factories.py (91%) rename opentech/apply/{tests.py => tests/test_workflow.py} (96%) diff --git a/opentech/apply/tests/__init__.py b/opentech/apply/tests/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/opentech/apply/factories.py b/opentech/apply/tests/factories.py similarity index 91% rename from opentech/apply/factories.py rename to opentech/apply/tests/factories.py index a20b3729a..918405602 100644 --- a/opentech/apply/factories.py +++ b/opentech/apply/tests/factories.py @@ -1,7 +1,7 @@ from django.forms import Form import factory -from .workflow import Stage, Workflow +from opentech.apply.workflow import Stage, Workflow class StageFactory(factory.Factory): diff --git a/opentech/apply/tests.py b/opentech/apply/tests/test_workflow.py similarity index 96% rename from opentech/apply/tests.py rename to opentech/apply/tests/test_workflow.py index 36cbe10a6..cabd5a0df 100644 --- a/opentech/apply/tests.py +++ b/opentech/apply/tests/test_workflow.py @@ -1,8 +1,9 @@ from django.test import SimpleTestCase from django.forms import Form +from opentech.apply.workflow import Stage, Workflow + from .factories import StageFactory, WorkflowFactory -from .workflow import Stage, Workflow class TestWorkflowCreation(SimpleTestCase): -- GitLab