(wdriver, script, output)
| 17 | "script, output", [("print(5)", "5"), ("a=5;b=4;print(a+b)", "9")] |
| 18 | ) |
| 19 | def test_demo(wdriver, script, output): |
| 20 | script = RUN_CODE_TEMPLATE.format(script) |
| 21 | script_output = wdriver.execute_script(script) |
| 22 | assert script_output.strip() == output |
nothing calls this directly
no test coverage detected