Commit e87ac0b1 authored by Romain Casati's avatar Romain Casati
Browse files

Data tests goes in tests/data.

parent 4c0bfc7f
......@@ -18,5 +18,5 @@ def test_hack_input(selenium):
def test_hack_modules(selenium):
data = selenium.run_basthon("help('modules')")
assert 'result' not in data['result'] and data['stderr'] == ""
with open(Path(__file__).parent / 'modules.txt') as f:
with open(Path(__file__).parent / 'data' / 'modules.txt') as f:
assert data['stdout'] ==
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment