Skip to content
Snippets Groups Projects
Commit 592848c1 authored by alexander06's avatar alexander06
Browse files

Fix Faulty test

Expected test result still factored in cancelled courses
parent 3b64aadb
Branches
Tags
Loading
Pipeline #59754 passed
......@@ -9,8 +9,8 @@ for i in range(steps):
sys.path.append(path)
import src.lib.scraping as scraping
@pytest.mark.parametrize("semester, institute, expected", [("Sommersemester 2016", "cs", 91),
("Wintersemester 2018/19", "math", 176),
@pytest.mark.parametrize("semester, institute, expected", [("Sommersemester 2016", "cs", 90),
("Wintersemester 2018/19", "math", 173),
("Wintersemester 2023/24", "bio", 64)])
def test_get_complete_catalogue_for(semester, institute, expected):
result = scraping.get_complete_catalogue_for(semester, institute)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment