Skip to content

Commit a352908

Browse files
committed
Fix linting and tests
1 parent 217031e commit a352908

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

tests/test_integration.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
from typing import Sequence
1010
from typing import Union
1111

12-
import pytest
13-
1412
from riot.riot import _T_CompletedProcess
1513

1614

@@ -194,7 +192,7 @@ def test_list_configurations(tmp_path: pathlib.Path) -> None:
194192
)
195193
result = run("riot list", cwd=tmp_path)
196194
assert result.stderr == ""
197-
assert result.stdout == "test Python Interpreter(_hint='3')\n"
195+
assert result.stdout == "test Python Interpreter(_hint='3') \n"
198196
assert result.returncode == 0
199197

200198
rf_path.write_text(
@@ -486,12 +484,7 @@ def test_dev_install_fail(tmp_path: pathlib.Path) -> None:
486484
""",
487485
)
488486
result = run("riot run test", cwd=tmp_path)
489-
assert (
490-
"""
491-
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode:
492-
""".strip()
493-
in result.stderr
494-
)
487+
assert "ERROR: File \"setup.py\"" in result.stderr
495488
assert "Dev install failed, aborting!" in result.stderr
496489
assert result.stdout == ""
497490
assert result.returncode == 1

0 commit comments

Comments
 (0)