(sct, stu_code, passes, msg)
| 15 | [("", False, "udm"), ("x = 1", False, "icm"), ("x = 100", True, None)], |
| 16 | ) |
| 17 | def test_check_object(sct, stu_code, passes, msg): |
| 18 | output = helper.run({"DC_SOLUTION": "x = 100", "DC_CODE": stu_code, "DC_SCT": sct}) |
| 19 | assert output["correct"] == passes |
| 20 | if msg: |
| 21 | assert output["message"] == msg |
| 22 | |
| 23 | |
| 24 | @pytest.mark.parametrize( |