Skip to content

Commit

Permalink
Fix tests incorrect API tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahimjaved12 committed Jan 15, 2024
1 parent a9138fe commit 932f25c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions tests/sample_courses.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"code": "ocw",
"name": "OCW"
},
"resource_content_tags": [
"course_feature": [
"Lecture Notes"
],
"departments": [
Expand Down Expand Up @@ -139,7 +139,7 @@
"code": "ocw",
"name": "OCW"
},
"resource_content_tags": [
"course_feature": [
"Lecture Notes",
"Problem Sets with Solutions",
"Exams with Solutions"
Expand Down Expand Up @@ -267,7 +267,7 @@
"code": "ocw",
"name": "OCW"
},
"resource_content_tags": [
"course_feature": [
"Written Assignments"
],
"departments": [
Expand Down Expand Up @@ -379,7 +379,7 @@
"code": "ocw",
"name": "OCW"
},
"resource_content_tags": [
"course_feature": [
"Written Assignments",
"Presentation Assignments"
],
Expand Down Expand Up @@ -494,7 +494,7 @@
"code": "ocw",
"name": "OCW"
},
"resource_content_tags": [
"course_feature": [
"Lecture Notes",
"Problem Sets with Solutions",
"Exams with Solutions"
Expand Down Expand Up @@ -596,7 +596,7 @@
"code": "ocw",
"name": "OCW"
},
"resource_content_tags": [
"course_feature": [
"Lecture Notes",
"Exams"
],
Expand Down Expand Up @@ -707,7 +707,7 @@
"code": "ocw",
"name": "OCW"
},
"resource_content_tags": [
"course_feature": [
"Lecture Notes",
"Written Assignments",
"Problem Sets"
Expand Down Expand Up @@ -853,7 +853,7 @@
"code": "ocw",
"name": "OCW"
},
"resource_content_tags": [
"course_feature": [
"Written Assignments with Examples",
"Instructor Insights"
],
Expand Down Expand Up @@ -958,7 +958,7 @@
"code": "ocw",
"name": "OCW"
},
"resource_content_tags": [
"course_feature": [
"Lecture Notes",
"Problem Sets"
],
Expand Down Expand Up @@ -1063,7 +1063,7 @@
"code": "ocw",
"name": "OCW"
},
"resource_content_tags": [
"course_feature": [
"Lecture Notes",
"Written Assignments with Examples"
],
Expand Down
2 changes: 1 addition & 1 deletion tests/test_api_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ def test_api_fields(self):
self.assertIn("url", item)
self.assertIn("description", item)
self.assertIn("topics", item)
self.assertIn("resource_content_tags", item)
self.assertIn("course_feature", item)
self.assertIn("instructors", item["runs"][0])

0 comments on commit 932f25c

Please sign in to comment.