Commit bf48bad0 authored by Matthieu Boileau's avatar Matthieu Boileau

Add AssertionError to test

parent 3ef6076a
Pipeline #8443 passed with stage
in 1 minute and 42 seconds
......@@ -77,4 +77,5 @@ def test_nbcourse_wrong_build(create_wrong_project):
course = NbCourse(Path('nbcourse.yml'))
course.conf['book']
with pytest.raises(SystemExit):
assert course.build(["-n 4"]) == 2
with pytest.raises(AssertionError):
assert course.build(["-n 4"]) == 2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment