From e0dfe0d4b7dc30188a462d203230b33f12d00233 Mon Sep 17 00:00:00 2001 From: Trevor Campbell Date: Tue, 22 Aug 2023 19:16:33 -0700 Subject: [PATCH] minor ed --- nbgrader/tests/preprocessors/test_instantiatetests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nbgrader/tests/preprocessors/test_instantiatetests.py b/nbgrader/tests/preprocessors/test_instantiatetests.py index ac3328557..bed94506a 100644 --- a/nbgrader/tests/preprocessors/test_instantiatetests.py +++ b/nbgrader/tests/preprocessors/test_instantiatetests.py @@ -73,7 +73,7 @@ def test_warning_autotest_nongrade(self, preprocessor, caplog): } nb, resources = preprocessor.preprocess(nb, resources) - assert "Autotest region detected in a non-grade cell; " in caplog.text + assert "AutoTest region detected in a non-grade cell; " in caplog.text # test that an error is thrown when we have an AUTOTEST directive in a non-grade cell def test_error_autotest_nongrade(self, preprocessor, caplog): @@ -92,7 +92,7 @@ def test_error_autotest_nongrade(self, preprocessor, caplog): with pytest.raises(Exception): nb, resources = preprocessor.preprocess(nb, resources) - assert "Autotest region detected in a non-grade cell; " in caplog.text + assert "AutoTest region detected in a non-grade cell; " in caplog.text # test that invalid python statements in AUTOTEST directives cause errors def test_error_bad_autotest_code(self, preprocessor):