diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-30 09:33:29 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-30 09:33:29 +0100 |
commit | 9307fc7676db68de4b3d25f795aa2a351f9d4843 (patch) | |
tree | 61ca1e81e49837707e1c725af1ebbe395493b0cd /ctrack/assessments/tests/test_assessments.py | |
parent | 3aec120ae42cb29049c8ba3d8d52d2388e56bb36 (diff) |
cleaned up tests
Diffstat (limited to 'ctrack/assessments/tests/test_assessments.py')
-rw-r--r-- | ctrack/assessments/tests/test_assessments.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ctrack/assessments/tests/test_assessments.py b/ctrack/assessments/tests/test_assessments.py index 2aaed12..2c78802 100644 --- a/ctrack/assessments/tests/test_assessments.py +++ b/ctrack/assessments/tests/test_assessments.py @@ -1,17 +1,15 @@ import pytest -from ctrack.assessments.models import AchievementLevel -from ctrack.assessments.models import CAFContributingOutcome -from ctrack.assessments.models import IGP +from ctrack.assessments.models import IGP, AchievementLevel, CAFContributingOutcome pytestmark = pytest.mark.django_db +@pytest.mark.skip("Does not test behaviour") def test_get_random_igps(full_db_fixture): 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) + igps_co1 = IGP.objects.filter(contributing_outcome=co1, achievement_level=na) assert co1.designation == "A1.a" assert na.descriptor == "Not Achieved" assert igps_co1.first().descriptive_text[:5] == "IGP 1" |