MCPcopy Index your code
hub / github.com/datacamp/pythonwhat / test_basic

Function test_basic

tests/test_has_import.py:16–19  ·  view source on GitHub ↗
(stu, correct)

Source from the content-addressed store, hash-verified

14 ],
15)
16def test_basic(stu, correct):
17 s = setup_state(stu_code=stu, sol_code="import pandas as pd")
18 with helper.verify_sct(correct):
19 s.has_import("pandas")
20
21
22@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

setup_stateFunction · 0.90

Tested by

no test coverage detected