aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/core/tests
diff options
context:
space:
mode:
authorMR Lemon <matt@matthewlemon>2020-05-13 16:48:55 +0100
committerMR Lemon <matt@matthewlemon>2020-05-13 16:48:55 +0100
commit5ae47c0121946c4691e7149fb8c983d1a3750405 (patch)
treecb243b44c86ae607442b012654a378b4a233fa68 /ctrack/core/tests
parentf562569ea87f8e5c2a7e611dfe61290df597b7c1 (diff)
improved handling of populate function by test - and some cleanup
Diffstat (limited to 'ctrack/core/tests')
-rw-r--r--ctrack/core/tests/__init__.py0
-rw-r--r--ctrack/core/tests/test_fixture_creation.py13
2 files changed, 13 insertions, 0 deletions
diff --git a/ctrack/core/tests/__init__.py b/ctrack/core/tests/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ctrack/core/tests/__init__.py
diff --git a/ctrack/core/tests/test_fixture_creation.py b/ctrack/core/tests/test_fixture_creation.py
new file mode 100644
index 0000000..98d3174
--- /dev/null
+++ b/ctrack/core/tests/test_fixture_creation.py
@@ -0,0 +1,13 @@
+"""
+We want to profile the fixture creation function so that we can make it more acceptable for use in tests.
+"""
+import pytest
+
+from ctrack.core.utils import populate_db
+
+pytestmark = pytest.mark.django_db
+
+
+def test_core_populate_func():
+ populate_db(orgs=2, igps=2)
+ assert True