aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/tests/conftest.py
diff options
context:
space:
mode:
authorMR Lemon <matt@matthewlemon>2020-05-14 17:10:04 +0100
committerMR Lemon <matt@matthewlemon>2020-05-14 17:10:04 +0100
commit738ec0ee2d06ccaeaff031d4d3350d4319b010f9 (patch)
treea25dad748d69e32abaebca36be7261799c0989f9 /ctrack/organisations/tests/conftest.py
parent729fd76ed2da6c23e7f8ece264e3b8458b133fe6 (diff)
how to do a raw CBV test - and not pretty...
Diffstat (limited to '')
-rw-r--r--ctrack/organisations/tests/conftest.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/ctrack/organisations/tests/conftest.py b/ctrack/organisations/tests/conftest.py
new file mode 100644
index 0000000..1435c86
--- /dev/null
+++ b/ctrack/organisations/tests/conftest.py
@@ -0,0 +1,11 @@
+
+# TODO Here we need to make use of the populate script to create a massive
+# test fixture.
+import pytest
+
+from ctrack.core.utils import populate_db
+
+
+@pytest.fixture
+def full_db_fixture():
+ populate_db(orgs=2, igps=2)