(stu, passes)
| 172 | ], |
| 173 | ) |
| 174 | def test_check_call(stu, passes): |
| 175 | s = setup_state(stu, "def test(a, b): print(a + b); return a + b") |
| 176 | with helper.verify_sct(passes): |
| 177 | s.check_function_def("test").multi( |
| 178 | check_call("f(1,2)").has_equal_value(), |
| 179 | check_call("f(1,2)").has_equal_output(), |
| 180 | check_call("f(3,1)").has_equal_value(), |
| 181 | check_call("f(1, '2')").has_equal_error(), |
| 182 | ) |
| 183 | |
| 184 | |
| 185 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected