Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
victoriajury committed Oct 16, 2024
1 parent 635949d commit 5fc2528
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions profile/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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):
Expand All @@ -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):
Expand Down

0 comments on commit 5fc2528

Please sign in to comment.