Skip to content

Commit 1204e7c

Browse files
committed
Test fixes
1 parent 9bf7aab commit 1204e7c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

offwork/worker/backends/ws.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async def _connect(self) -> Any:
9191
except ImportError as exc:
9292
raise RuntimeError(
9393
"WebSocketBackend requires the 'websockets' package. "
94-
"Install with: pip install offwork[ws]"
94+
"Install with: pip install 'offwork[ws]'"
9595
) from exc
9696
ws = await websockets.connect(
9797
self._url,

tests/test_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def test_deduplication_shared_dep(tmp_path: Path) -> None:
352352
def test_serialize_format_structure(tmp_path: Path) -> None:
353353
graph = _make_graph(tmp_path)
354354
data = json.loads(graph.serialize())
355-
assert data["version"].startswith("0.1")
355+
assert data["version"].startswith("0.2")
356356
assert "objects" in data
357357
assert "deps" in data
358358
assert "refs" in data

tests/test_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def test_json_roundtrip(self) -> None:
332332
def test_to_dict_format(self) -> None:
333333
store = _chain_store()
334334
data = store.to_dict()
335-
assert data["version"].startswith("0.1")
335+
assert data["version"].startswith("0.2")
336336
assert "objects" in data
337337
assert "deps" in data
338338
assert "refs" in data

0 commit comments

Comments
 (0)