(stu, passes)
| 19 | ], |
| 20 | ) |
| 21 | def test_check_function_def_basic(stu, passes): |
| 22 | s = setup_state(stu, "def test(x): print(x)") |
| 23 | with helper.verify_sct(passes): |
| 24 | s.check_function_def("test").multi( |
| 25 | check_args(0).has_equal_part("name", msg="wrong"), |
| 26 | check_body() |
| 27 | .set_context(1) |
| 28 | .check_function("print") |
| 29 | .check_args(0) |
| 30 | .has_equal_value(), |
| 31 | ) |
| 32 | |
| 33 | |
| 34 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected