aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/assessments/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/assessments/tests')
-rw-r--r--ctrack/assessments/tests/conftest.py4
-rw-r--r--ctrack/assessments/tests/test_assessments.py17
2 files changed, 21 insertions, 0 deletions
diff --git a/ctrack/assessments/tests/conftest.py b/ctrack/assessments/tests/conftest.py
new file mode 100644
index 0000000..4a9126c
--- /dev/null
+++ b/ctrack/assessments/tests/conftest.py
@@ -0,0 +1,4 @@
+
+# TODO Here we need to make use of the populate script to create a massive
+# test fixture.
+
diff --git a/ctrack/assessments/tests/test_assessments.py b/ctrack/assessments/tests/test_assessments.py
new file mode 100644
index 0000000..4443a18
--- /dev/null
+++ b/ctrack/assessments/tests/test_assessments.py
@@ -0,0 +1,17 @@
+import pytest
+
+from ctrack.assessments.models import AchievementLevel
+from ctrack.assessments.models import CAFContributingOutcome
+from ctrack.assessments.models import IGP
+
+pytestmark = pytest.mark.django_db
+
+
+
+@pytest.mark.skip("Use once we populate the test database")
+def test_get_random_igps():
+ na = AchievementLevel.objects.filter(descriptor="Not Achieved").first()
+ co1 = CAFContributingOutcome.objects.get(pk=1)
+ igps_co1 = IGP.objects.filter(contributing_outcome=co1,
+ achievement_level=na)
+ assert False