From 5fc25284729f67db689fc5dfa5c7e69fd3b0674e Mon Sep 17 00:00:00 2001 From: Victoria Jury Date: Wed, 16 Oct 2024 20:40:11 +0200 Subject: [PATCH] update tests --- profile/tests.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/profile/tests.py b/profile/tests.py index 38b1300..8f8c93c 100644 --- a/profile/tests.py +++ b/profile/tests.py @@ -29,11 +29,13 @@ def setUpTestData(cls): location="Some school1", date_attended="2010 - 2012", study_details="Certificates, exams, degrees", + position=1 ) cls.edu2 = ResumeEducation.objects.create( location="Some school2", date_attended="2013 - 2018", study_details="Certificates, exams, degrees", + position=2 ) def test_education_created(self): @@ -49,10 +51,12 @@ def setUpTestData(cls): cls.skill1 = ResumeSkill.objects.create( category="Technical skills", skill="Python", + position=1 ) cls.skill2 = ResumeSkill.objects.create( category="Languages", skill="French", + position=2 ) def test_skill_created(self): @@ -70,12 +74,14 @@ def setUpTestData(cls): date_attended="2020 - 2021", location="Some Company Ltd", role_details="Testing, developing software, REST APIs", + position=1 ) cls.exp2 = ResumeExperience.objects.create( role="Website Developer", date_attended="2021 - 2024", location="Another Enterprise Ltd", role_details="Testing, developing software, REST APIs", + position=2 ) def test_experience_created(self):