Skip to content

Commit df14bc9

Browse files
authored
Merge pull request #106 from Flavore669/issue-40
Issue #40 - Add unit tests for api-tools/uploader [Finished]
2 parents 68f62cd + 8aafbbe commit df14bc9

File tree

17 files changed

+386
-1
lines changed

17 files changed

+386
-1
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[
2+
{
3+
"_id": "67d07ee0c972c18731e23bee",
4+
"subject_prefix": "BA",
5+
"course_number": "1320",
6+
"title": "Business in a Global World",
7+
"description": "BA 1320 - Business in a Global World (3 semester credit hours) This course provides a primer on the impacts of globalization on business.",
8+
"enrollment_reqs": "BA 1320 Repeat Restriction",
9+
"school": "Naveen Jindal School of Management",
10+
"credit_hours": "3",
11+
"class_level": "Undergraduate",
12+
"activity_type": "Lecture",
13+
"grading": "Graded - Undergraduate",
14+
"internal_course_number": "015444",
15+
"prerequisites": null,
16+
"corequisites": null,
17+
"co_or_pre_requisites": null,
18+
"sections": ["67d07ee0c972c18731e23bef"],
19+
"lecture_contact_hours": "3",
20+
"laboratory_contact_hours": "0",
21+
"offering_frequency": "S",
22+
"catalog_year": "24",
23+
"attributes": null
24+
}
25+
]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[
2+
{
3+
"_id": "67d07ee0c972c18731e23bf0",
4+
"first_name": "Peter",
5+
"last_name": "Lewin",
6+
"titles": ["Primary Instructor"],
7+
"email": "[email protected]",
8+
"phone_number": "",
9+
"office": {"building": "", "room": "", "map_uri": ""},
10+
"profile_uri": "",
11+
"image_uri": "",
12+
"office_hours": null,
13+
"sections": ["67d07ee0c972c18731e23bef"]
14+
}
15+
]
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[
2+
{
3+
"_id": "67d07ee0c972c18731e23bef",
4+
"section_number": "501",
5+
"course_reference": "67d07ee0c972c18731e23bee",
6+
"section_corequisites": null,
7+
"academic_session": {
8+
"name": "25S",
9+
"start_date": "2025-01-21T00:00:00-06:00",
10+
"end_date": "2025-05-16T00:00:00-05:00"
11+
},
12+
"professors": ["67d07ee0c972c18731e23bf0"],
13+
"teaching_assistants": [],
14+
"internal_class_number": "27195",
15+
"instruction_mode": "Face-to-Face",
16+
"meetings": [
17+
{
18+
"start_date": "2025-01-21T00:00:00-06:00",
19+
"end_date": "2025-05-09T00:00:00-05:00",
20+
"meeting_days": ["Tuesday", "Thursday"],
21+
"start_time": "5:30pm",
22+
"end_time": "6:45pm",
23+
"modality": "",
24+
"location": {"building": "JSOM", "room": "12.218", "map_uri": "https://locator.utdallas.edu/SOM_12.218"}
25+
}
26+
],
27+
"core_flags": ["080", "090"],
28+
"syllabus_uri": "https://dox.utdallas.edu/syl153033",
29+
"grade_distribution": [],
30+
"attributes": null
31+
}
32+
]
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[
2+
{
3+
"_id": "67d07ee0c972c18731e23bf4",
4+
"subject_prefix": "AERO",
5+
"course_number": "3320",
6+
"title": "- Recitation",
7+
"description": "- ()",
8+
"enrollment_reqs": "",
9+
"school": "Undergraduate Studies",
10+
"credit_hours": "Non-Enroll",
11+
"class_level": "Undergraduate",
12+
"activity_type": "Laboratory - No Lab Fee",
13+
"grading": "Graded - Undergraduate",
14+
"internal_course_number": "000243",
15+
"prerequisites": null,
16+
"corequisites": null,
17+
"co_or_pre_requisites": null,
18+
"sections": ["67d07ee0c972c18731e23bf5"],
19+
"lecture_contact_hours": "",
20+
"laboratory_contact_hours": "",
21+
"offering_frequency": "",
22+
"catalog_year": "24",
23+
"attributes": null
24+
}
25+
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[
2+
{
3+
"_id": "67d07ee0c972c18731e23be9",
4+
"subject_prefix": "ACCT",
5+
"course_number": "2301",
6+
"title": "Introductory Financial Accounting",
7+
"description": "ACCT 2301 - Introductory Financial Accounting (3 semester credit hours) An introduction to financial reporting...",
8+
"enrollment_reqs": "ACCT 2301 Repeat Restriction",
9+
"school": "Naveen Jindal School of Management",
10+
"credit_hours": "3",
11+
"class_level": "Undergraduate",
12+
"activity_type": "Lecture",
13+
"grading": "Graded - Undergraduate",
14+
"internal_course_number": "000061",
15+
"prerequisites": null,
16+
"corequisites": null,
17+
"co_or_pre_requisites": null,
18+
"sections": ["67d07ee0c972c18731e23bea", "67d07ee0c972c18731e23bed"],
19+
"lecture_contact_hours": "3",
20+
"laboratory_contact_hours": "0",
21+
"offering_frequency": "S",
22+
"catalog_year": "24",
23+
"attributes": null
24+
}
25+
]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[
2+
{
3+
"_id": "67d07ee0c972c18731e23beb",
4+
"first_name": "Naim Bugra",
5+
"last_name": "Ozel",
6+
"titles": ["Primary Instructor (50%)"],
7+
"email": "[email protected]",
8+
"phone_number": "",
9+
"office": {"building": "", "room": "", "map_uri": ""},
10+
"profile_uri": "",
11+
"image_uri": "",
12+
"office_hours": null,
13+
"sections": ["67d07ee0c972c18731e23bea", "67d07ee0c972c18731e23bed"]
14+
}
15+
]
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
[
2+
{
3+
"_id": "67d07ee0c972c18731e23bea",
4+
"section_number": "003",
5+
"course_reference": "67d07ee0c972c18731e23be9",
6+
"section_corequisites": null,
7+
"academic_session": {
8+
"name": "25S",
9+
"start_date": "2025-01-21T00:00:00-06:00",
10+
"end_date": "2025-05-16T00:00:00-05:00"
11+
},
12+
"professors": ["67d07ee0c972c18731e23beb"],
13+
"teaching_assistants": [
14+
{"first_name": "Galymzhan", "last_name": "Tazhibayev", "role": "Teaching Assistant", "email": "[email protected]"}
15+
],
16+
"internal_class_number": "27706",
17+
"instruction_mode": "Face-to-Face",
18+
"meetings": [
19+
{
20+
"start_date": "2025-01-21T00:00:00-06:00",
21+
"end_date": "2025-05-09T00:00:00-05:00",
22+
"meeting_days": ["Tuesday", "Thursday"],
23+
"start_time": "10:00am",
24+
"end_time": "11:15am",
25+
"modality": "",
26+
"location": {"building": "JSOM", "room": "2.717", "map_uri": "https://locator.utdallas.edu/SOM_2.717"}
27+
}
28+
],
29+
"core_flags": [],
30+
"syllabus_uri": "https://dox.utdallas.edu/syl152555",
31+
"grade_distribution": [],
32+
"attributes": null
33+
},
34+
{
35+
"_id": "67d07ee0c972c18731e23bed",
36+
"section_number": "001",
37+
"course_reference": "67d07ee0c972c18731e23be9",
38+
"section_corequisites": null,
39+
"academic_session": {
40+
"name": "25S",
41+
"start_date": "2025-01-21T00:00:00-06:00",
42+
"end_date": "2025-05-16T00:00:00-05:00"
43+
},
44+
"professors": ["67d07ee0c972c18731e23beb"],
45+
"teaching_assistants": [
46+
{"first_name": "Galymzhan", "last_name": "Tazhibayev", "role": "Teaching Assistant", "email": "[email protected]"}
47+
],
48+
"internal_class_number": "26595",
49+
"instruction_mode": "Face-to-Face",
50+
"meetings": [
51+
{
52+
"start_date": "2025-01-21T00:00:00-06:00",
53+
"end_date": "2025-05-09T00:00:00-05:00",
54+
"meeting_days": ["Tuesday", "Thursday"],
55+
"start_time": "8:30am",
56+
"end_time": "9:45am",
57+
"modality": "",
58+
"location": {"building": "JSOM", "room": "2.717", "map_uri": "https://locator.utdallas.edu/SOM_2.717"}
59+
}
60+
],
61+
"core_flags": [],
62+
"syllabus_uri": "https://dox.utdallas.edu/syl152552",
63+
"grade_distribution": [],
64+
"attributes": null
65+
}
66+
]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[
2+
{
3+
"_id": "67d07ee0c972c18731e23be9",
4+
"subject_prefix": "ACCT",
5+
"course_number": "2301",
6+
"title": "Introductory Financial Accounting",
7+
"school": "Naveen Jindal School of Management",
8+
"credit_hours": "3",
9+
"class_level": "Undergraduate",
10+
"activity_type": "Lecture",
11+
"sections": ["67d07ee0c972c18731e23bea", "67d07ee0c972c18731e23bed"]
12+
}
13+
]

0 commit comments

Comments
 (0)