Skip to content

Commit

Permalink
Fixed pytests by findings of mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverWannenwetsch committed Oct 23, 2024
1 parent 475f66c commit 41e64ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion providers/tests/edge/cli/test_edge_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def returncode(self):

@pytest.fixture
def worker_with_job(self, tmp_path: Path, dummy_joblist: list[_Job]) -> _EdgeWorkerCli:
test_worker = _EdgeWorkerCli(tmp_path / "dummy.pid", "dummy", None, 8, 5, 5)
test_worker = _EdgeWorkerCli(str(tmp_path / "dummy.pid"), "dummy", None, 8, 5, 5)
test_worker.jobs = dummy_joblist
return test_worker

Expand Down
2 changes: 1 addition & 1 deletion providers/tests/edge/models/test_edge_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
class TestEdgeWorker:
@pytest.fixture
def cli_worker(self, tmp_path: Path) -> _EdgeWorkerCli:
test_worker = _EdgeWorkerCli(tmp_path / "dummy.pid", "dummy", None, 8, 5, 5)
test_worker = _EdgeWorkerCli(str(tmp_path / "dummy.pid"), "dummy", None, 8, 5, 5)
return test_worker

@pytest.fixture(autouse=True)
Expand Down

0 comments on commit 41e64ca

Please sign in to comment.