fix(test): fix the scrapers
This commit is contained in:
parent
1b77763648
commit
fe25b00537
2 changed files with 7 additions and 6 deletions
|
|
@ -12,8 +12,8 @@ def test_scrape_success(mocker, mock_cses_html):
|
|||
result = scrape("https://cses.fi/problemset/task/1068")
|
||||
|
||||
assert len(result) == 1
|
||||
assert result[0][0] == "3\n1 2 3"
|
||||
assert result[0][1] == "6"
|
||||
assert result[0].input == "3\n1 2 3"
|
||||
assert result[0].expected == "6"
|
||||
|
||||
|
||||
def test_scrape_all_problems(mocker):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue