diff --git a/tests/course_test.py b/tests/course_test.py index d96ef99..898ea18 100644 --- a/tests/course_test.py +++ b/tests/course_test.py @@ -24,14 +24,7 @@ from pittapi.course import Attribute, Course, CourseDetails, Instructor, Meeting, Section, SectionDetails, Subject -from tests.mocks.course_mocks import ( - mocked_subject_data, - mocked_courses_data, - mocked_courses_data_invalid, - mocked_course_info_data, - mocked_course_sections_data, - mocked_section_details_data, -) +from tests.samples.course_mocks import * class CourseTest(unittest.TestCase): diff --git a/tests/samples/course_course.html b/tests/samples/course_course.html deleted file mode 100644 index 1828b58..0000000 --- a/tests/samples/course_course.html +++ /dev/null @@ -1,186 +0,0 @@ -
-
CS 0007 - INTRODUCTION TO COMPUTER PROGRAMMING
-
- -
Section: 1010-LEC (27867)
-
Session: Academic Term
-
Days/Times: MoWe 4:30pm - 5:45pm
-
Room: 5502 Sennott Square
-
Instructor: Stephen Ellis
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Wait List
-
Wait List Total: 1
-
-
- -
- -
Section: 1015-REC (27868)
-
Session: Academic Term
-
Days/Times: Th 12:00pm - 12:50pm
-
Room: 5502 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
-
-
- -
- -
Section: 1020-REC (27869)
-
Session: Academic Term
-
Days/Times: Th 10:00am - 10:50am
-
Room: 5505 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
-
-
- -
- -
Section: 1030-LEC (27870)
-
Session: Academic Term
-
Days/Times: TuTh 2:30pm - 3:45pm
-
Room: 5502 Sennott Square
-
Instructor: Paulo Ferreira
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Wait List
-
Wait List Total: 2
-
-
- -
- -
Section: 1050-REC (27871)
-
Session: Academic Term
-
Days/Times: Tu 12:00pm - 12:50pm
-
Room: 6110 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
-
-
- -
- -
Section: 1060-REC (27872)
-
Session: Academic Term
-
Days/Times: We 1:00pm - 1:50pm
-
Room: 6110 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
-
-
- -
- -
Section: 1120-LEC (27873)
-
Session: Academic Term
-
Days/Times: TuTh 9:30am - 10:45am
-
Room: 5502 Sennott Square
-
Instructor: Karen Filipski
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Wait List
-
Wait List Total: 1
-
-
- -
- -
Section: 1130-REC (27874)
-
Session: Academic Term
-
Days/Times: Th 3:00pm - 3:50pm
-
Room: 6110 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
-
-
- -
- -
Section: 1140-REC (27875)
-
Session: Academic Term
-
Days/Times: Fr 9:00am - 9:50am, Fr 9:00am - 9:50am, Fr 9:00am - 9:50am
-
Room: 5505 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019, 01/07/2019 - 04/19/2019, 01/07/2019 - 04/19/2019
-
Status: Open
-
-
- -
- -
Section: 1200-LEC (27876)
-
Session: Academic Term
-
Days/Times: TuTh 1:00pm - 2:15pm
-
Room: 5502 Sennott Square
-
Instructor: Karen Filipski
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Wait List
-
Wait List Total: 0
-
-
- -
- -
Section: 1205-REC (27877)
-
Session: Academic Term
-
Days/Times: Tu 3:00pm - 3:50pm
-
Room: 6110 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
-
-
- -
- -
Section: 1210-REC (27878)
-
Session: Academic Term
-
Days/Times: Th 10:00am - 10:50am
-
Room: 6110 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
-
-
diff --git a/tests/samples/course_extra_1.html b/tests/samples/course_extra_1.html deleted file mode 100644 index 96b6886..0000000 --- a/tests/samples/course_extra_1.html +++ /dev/null @@ -1,542 +0,0 @@ - - - -
- - - - - -
- - -
- -
-
- - -
- - -
- - - SOFTWARE QUALITY ASSURANCE - -
- - - - - -
- - -
-
Session
- -
- -
- -
Academic Term
-
-
- - -
- - -
-
Class Number
- -
- -
- -
27469
-
-
- - -
- - -
-
Career
- -
- -
- -
Undergraduate
-
-
- - -
- - -
-
Units
- -
- -
- -
3 units
-
-
- - -
- - -
-
Grading
- -
- -
- -
LG/SNC Elective Basis
-
-
- - -
- - -
-
Description
- -
- -
- -
This course provides students with a broad understanding of modern software testing and quality - assurance. Although it will cover testing theory, the emphasis is on providing practical skills in - software testing currently used in industry. To that end, it will cover: manual and automated tests, - test-driven and behavior-driven development, performance testing, and understanding and developing a - testing process. -
-
-
- - -
- - -
-
Enrollment Requirements
- -
- -
- -
PREQ: (CS 0445 or COE 0445 or CS 0455) or (PLAN COE and (CS 0445 or COE 0445) (Min Grade 'C' or - Transfer for All Listed Courses) -
-
- -
- - -
- - -
-
Class Attributes
- -
- -
- -
Writing Requirement Course
-
-
- - -
- - - Class Details - -
- - -
- - -
-
Instructor(s)
- -
- -
- -
William Laboon
-
-
- - -
- - -
-
Meets
- -
- -
- -
MoWe 11:00AM - 12:15PM
-
-
- - -
- - -
-
Dates
- -
- -
- -
01/07/2019 - 04/19/2019
-
-
- - - - -
- - - -
-
Room
- -
- -
- -
203 Lawrence Hall
-
-
- -
- - -
- - -
-
Campus
- -
- -
- -
Pittsburgh Campus
-
-
- - -
- - -
-
Location
- -
- -
- -
Pittsburgh Campus
-
-
- - -
- - -
-
Components
- -
- -
- -
- - - - - - -
Lecture Required
-
-
-
- - -
Textbooks/Materials
- - -
Textbooks to be determined
- - -
- - - Enrollment Restrictions - -
- - -
- - -
-
Restricted to CS Majors
- -
- -
- -
Available Seats: 0
-
-
- - -
- - -
-
Restricted to BINF-BS students
- -
- -
- -
Available Seats: 0
-
-
- - -
- - -
-
Restricted to COE Majors
- -
- -
- -
Available Seats: 0
-
-
- - -
- - - Class Availability - -
- - -
- - -
-
Status
- -
- -
- -
Wait List
-
-
- - -
- - -
-
Seats Taken
- -
- -
- -
50
-
-
- - -
- - -
-
Seats Open
- -
- -
- -
0
-
-
- - -
- - -
-
Class Capacity
- -
- -
- -
50
-
-
- - -
- - -
-
Unrestricted Seats
- -
- -
- -
0
-
-
- - -
- - -
-
Restricted Seats
- -
- -
- -
0
-
-
- - -
- - -
-
Wait List Total
- -
- -
- -
4
-
-
- - -
- - -
-
Wait List Capacity
- -
- -
- -
20
-
-
- - -
- - -
- - diff --git a/tests/samples/course_extra_2.html b/tests/samples/course_extra_2.html deleted file mode 100644 index 85eed2a..0000000 --- a/tests/samples/course_extra_2.html +++ /dev/null @@ -1,484 +0,0 @@ - - - -
- - - -
- - -
- -
-
-
-
- SOFTWARE QUALITY ASSURANCE -
- -
- - -
-
Session
- -
- -
- -
Academic Term
-
-
- - -
- - -
-
Class Number
- -
- -
- -
27469
-
-
- - -
- - -
-
Career
- -
- -
- -
Undergraduate
-
-
- - -
- - -
-
Units
- -
- -
- -
3 units
-
-
- - -
- - -
-
Grading
- -
- -
- -
LG/SNC Elective Basis
-
-
- - -
- - -
-
Description
- -
- -
- -
This course provides students with a broad understanding of modern software testing and quality - assurance. Although it will cover testing theory, the emphasis is on providing practical skills in - software testing currently used in industry. To that end, it will cover: manual and automated tests, - test-driven and behavior-driven development, performance testing, and understanding and developing a - testing process. -
-
-
- - -
- - -
-
Enrollment Requirements
- -
- -
- -
PREQ: (CS 0445 or COE 0445 or CS 0455) or (PLAN COE and (CS 0445 or COE 0445) (Min Grade 'C' or - Transfer for All Listed Courses) -
-
- -
- - -
- - - Class Details - -
- - -
- - -
-
Instructor(s)
- -
- -
- -
William Laboon
-
-
- - -
- - -
-
Meets
- -
- -
- -
MoWe 11:00AM - 12:15PM
-
-
- - -
- - -
-
Dates
- -
- -
- -
01/07/2019 - 04/19/2019
-
-
- - - - -
- - - -
-
Room
- -
- -
- -
203 Lawrence Hall
-
-
- -
- - -
- - -
-
Campus
- -
- -
- -
Pittsburgh Campus
-
-
- - -
- - -
-
Location
- -
- -
- -
Pittsburgh Campus
-
-
- - -
- - -
-
Components
- -
- -
- -
- - - - - - -
Lecture Required
-
-
-
- - -
Textbooks/Materials
- - -
Textbooks to be determined
- - -
- - - Enrollment Restrictions - -
- - -
- - -
-
Restricted to CS Majors
- -
- -
- -
Available Seats: 0
-
-
- - -
- - -
-
Restricted to BINF-BS students
- -
- -
- -
Available Seats: 0
-
-
- - -
- - -
-
Restricted to COE Majors
- -
- -
- -
Available Seats: 0
-
-
- - -
- - - Class Availability - -
- - -
- - -
-
Status
- -
- -
- -
Wait List
-
-
- - -
- - -
-
Seats Taken
- -
- -
- -
50
-
-
- - -
- - -
-
Seats Open
- -
- -
- -
0
-
-
- - -
- - -
-
Class Capacity
- -
- -
- -
50
-
-
- - -
- - -
-
Unrestricted Seats
- -
- -
- -
0
-
-
- - -
- - -
-
Restricted Seats
- -
- -
- -
0
-
-
- - -
- - -
-
Wait List Total
- -
- -
- -
4
-
-
- - -
- - -
-
Wait List Capacity
- -
- -
- -
20
-
-
- - -
- - -
- - diff --git a/tests/samples/course_extra_3.html b/tests/samples/course_extra_3.html deleted file mode 100644 index 830b71f..0000000 --- a/tests/samples/course_extra_3.html +++ /dev/null @@ -1,421 +0,0 @@ - - - -
- - -
- - -
- -
-
-
-
- SOFTWARE QUALITY ASSURANCE -
- -
-
-
Session
-
-
-
Academic Term
-
-
-
-
-
Class Number
-
-
-
27469
-
-
-
-
-
Career
-
-
-
Undergraduate
-
-
-
-
-
Units
-
-
-
3 units
-
-
-
-
-
Grading
-
-
-
LG/SNC Elective Basis
-
-
-
-
-
Description
-
-
-
This course provides students with a broad understanding of modern software testing and quality - assurance. Although it will cover testing theory, the emphasis is on providing practical skills in - software testing currently used in industry. To that end, it will cover: manual and automated tests, - test-driven and behavior-driven development, performance testing, and understanding and developing a - testing process. -
-
-
-
-
-
Class Attributes
-
-
-
Writing Requirement Course
-
-
-
- Class Details -
-
-
-
Instructor(s)
-
-
-
William Laboon
-
-
- - -
- - -
-
Meets
- -
- -
- -
MoWe 11:00AM - 12:15PM
-
-
- - -
- - -
-
Dates
- -
- -
- -
01/07/2019 - 04/19/2019
-
-
- - - - -
- - - -
-
Room
- -
- -
- -
203 Lawrence Hall
-
-
- -
- - -
- - -
-
Campus
- -
- -
- -
Pittsburgh Campus
-
-
- - -
- - -
-
Location
- -
- -
- -
Pittsburgh Campus
-
-
- - -
- - -
-
Components
- -
- -
- -
- - - - - - -
Lecture Required
-
-
-
- - -
Textbooks/Materials
- - -
Textbooks to be determined
- - -
- - - Enrollment Restrictions - -
- - -
- - -
-
Restricted to CS Majors
- -
- -
- -
Available Seats: 0
-
-
- - -
- - -
-
Restricted to BINF-BS students
- -
- -
- -
Available Seats: 0
-
-
- - -
- - -
-
Restricted to COE Majors
- -
- -
- -
Available Seats: 0
-
-
- - -
- - - Class Availability - -
- - -
- - -
-
Status
- -
- -
- -
Wait List
-
-
- - -
- - -
-
Seats Taken
- -
- -
- -
50
-
-
- - -
- - -
-
Seats Open
- -
- -
- -
0
-
-
- - -
- - -
-
Class Capacity
- -
- -
- -
50
-
-
- - -
- - -
-
Unrestricted Seats
- -
- -
- -
0
-
-
- - -
- - -
-
Restricted Seats
- -
- -
- -
0
-
-
- - -
- - -
-
Wait List Total
- -
- -
- -
4
-
-
- - -
- - -
-
Wait List Capacity
- -
- -
- -
20
-
-
- - -
- - -
- - diff --git a/tests/samples/course_extra_4.html b/tests/samples/course_extra_4.html deleted file mode 100644 index 881609e..0000000 --- a/tests/samples/course_extra_4.html +++ /dev/null @@ -1,491 +0,0 @@ - - - -
- - - -
- - -
- -
-
- - -
- - -
- - - SOFTWARE QUALITY ASSURANCE - -
- - - - - -
- - -
-
Session
- -
- -
- -
Academic Term
-
-
- - -
- - -
-
Class Number
- -
- -
- -
27469
-
-
- - -
- - -
-
Career
- -
- -
- -
Undergraduate
-
-
- - -
- - -
-
Units
- -
- -
- -
3 units
-
-
- - -
- - -
-
Grading
- -
- -
- -
LG/SNC Elective Basis
-
-
- - -
- - -
-
Description
- -
- -
- -
This course provides students with a broad understanding of modern software testing and quality - assurance. Although it will cover testing theory, the emphasis is on providing practical skills in - software testing currently used in industry. To that end, it will cover: manual and automated tests, - test-driven and behavior-driven development, performance testing, and understanding and developing a - testing process. -
-
-
- - - -
- - - Class Details - -
- - -
- - -
-
Instructor(s)
- -
- -
- -
William Laboon
-
-
- - -
- - -
-
Meets
- -
- -
- -
MoWe 11:00AM - 12:15PM
-
-
- - -
- - -
-
Dates
- -
- -
- -
01/07/2019 - 04/19/2019
-
-
- - - - -
- - - -
-
Room
- -
- -
- -
203 Lawrence Hall
-
-
- -
- - -
- - -
-
Campus
- -
- -
- -
Pittsburgh Campus
-
-
- - -
- - -
-
Location
- -
- -
- -
Pittsburgh Campus
-
-
- - -
- - -
-
Components
- -
- -
- -
- - - - - - -
Lecture Required
-
-
-
- - -
Textbooks/Materials
- - -
Textbooks to be determined
- - -
- - - Enrollment Restrictions - -
- - -
- - -
-
Restricted to CS Majors
- -
- -
- -
Available Seats: 0
-
-
- - -
- - -
-
Restricted to BINF-BS students
- -
- -
- -
Available Seats: 0
-
-
- - -
- - -
-
Restricted to COE Majors
- -
- -
- -
Available Seats: 0
-
-
- - -
- - - Class Availability - -
- - -
- - -
-
Status
- -
- -
- -
Wait List
-
-
- - -
- - -
-
Seats Taken
- -
- -
- -
50
-
-
- - -
- - -
-
Seats Open
- -
- -
- -
0
-
-
- - -
- - -
-
Class Capacity
- -
- -
- -
50
-
-
- - -
- - -
-
Unrestricted Seats
- -
- -
- -
0
-
-
- - -
- - -
-
Restricted Seats
- -
- -
- -
0
-
-
- - -
- - -
-
Wait List Total
- -
- -
- -
4
-
-
- - -
- - -
-
Wait List Capacity
- -
- -
- -
20
-
-
- - -
- - -
- - diff --git a/tests/mocks/course_mocks.py b/tests/samples/course_mocks.py similarity index 100% rename from tests/mocks/course_mocks.py rename to tests/samples/course_mocks.py diff --git a/tests/samples/course_section.html b/tests/samples/course_section.html deleted file mode 100644 index 60f051a..0000000 --- a/tests/samples/course_section.html +++ /dev/null @@ -1,23 +0,0 @@ -
-
CS 1632 - SOFTWARE QUALITY ASSURANCE
- -
- - - -
Section: 1120-LEC (27469)
-
Session: Academic Term
-
Days/Times: MoWe 11:00am - 12:15pm
-
Room: 203 Lawrence Hall
-
Instructor: William Laboon
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Wait List
-
Wait List Total: 4
- -
- -
diff --git a/tests/samples/course_subject.html b/tests/samples/course_subject.html deleted file mode 100644 index b848fb2..0000000 --- a/tests/samples/course_subject.html +++ /dev/null @@ -1,275 +0,0 @@ -
-
CS 0004 - INTRODUCTION TO COMPUTER PROGRAMMING-BASIC -
-
- - - -
Section: 1060-LEC (27865)
-
Session: Academic Term
-
Days/Times: MoWe 9:30am - 10:45am
-
Room: 5502 Sennott Square
-
Instructor: Michael Devine
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Wait List
-
Wait List Total: 0
- -
- -
- -
- - - -
Section: 1100-LEC (27866)
-
Session: Academic Term
-
Days/Times: TBA
-
Room: 209 Lawrence Hall
-
Instructor: Michael Devine
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Wait List
-
Wait List Total: 3
- -
- -
-
CS 0007 - INTRODUCTION TO COMPUTER PROGRAMMING
-
- - - -
Section: 1010-LEC (27867)
-
Session: Academic Term
-
Days/Times: MoWe 4:30pm - 5:45pm
-
Room: 5502 Sennott Square
-
Instructor: Stephen Ellis
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Wait List
-
Wait List Total: 1
- -
- -
- -
- - - -
Section: 1015-REC (27868)
-
Session: Academic Term
-
Days/Times: Th 12:00pm - 12:50pm
-
Room: 5502 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
- -
- -
- -
- - - -
Section: 1020-REC (27869)
-
Session: Academic Term
-
Days/Times: Th 10:00am - 10:50am
-
Room: 5505 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
- -
- -
- -
- - - -
Section: 1030-LEC (27870)
-
Session: Academic Term
-
Days/Times: TuTh 2:30pm - 3:45pm
-
Room: 5502 Sennott Square
-
Instructor: Paulo Ferreira
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Wait List
-
Wait List Total: 2
- -
- -
- -
- - - -
Section: 1050-REC (27871)
-
Session: Academic Term
-
Days/Times: Tu 12:00pm - 12:50pm
-
Room: 6110 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
- -
- -
- -
- - - -
Section: 1060-REC (27872)
-
Session: Academic Term
-
Days/Times: We 1:00pm - 1:50pm
-
Room: 6110 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
- -
- -
- -
- - - -
Section: 1120-LEC (27873)
-
Session: Academic Term
-
Days/Times: TuTh 9:30am - 10:45am
-
Room: 5502 Sennott Square
-
Instructor: Karen Filipski
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Wait List
-
Wait List Total: 1
- -
- -
- -
- - - -
Section: 1130-REC (27874)
-
Session: Academic Term
-
Days/Times: Th 3:00pm - 3:50pm
-
Room: 6110 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
- -
- -
- -
- - - -
Section: 1140-REC (27875)
-
Session: Academic Term
-
Days/Times: Fr 9:00am - 9:50am
-
Room: 5505 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
- -
- -
- -
- - - -
Section: 1200-LEC (27876)
-
Session: Academic Term
-
Days/Times: TuTh 1:00pm - 2:15pm
-
Room: 5502 Sennott Square
-
Instructor: Karen Filipski
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Wait List
-
Wait List Total: 0
- -
- -
- -
- - - -
Section: 1205-REC (27877)
-
Session: Academic Term
-
Days/Times: Tu 3:00pm - 3:50pm
-
Room: 6110 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
- -
- -
- -
- - - -
Section: 1210-REC (27878)
-
Session: Academic Term
-
Days/Times: Th 10:00am - 10:50am
-
Room: 6110 Sennott Square
-
Instructor: Staff
-
Dates: 01/07/2019 - 04/19/2019
-
Status: Open
- -
- -