Skip to content

Commit 6709e00

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c0b2a21 commit 6709e00

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.beads/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"database": "beads.db",
33
"jsonl_export": "issues.jsonl"
4-
}
4+
}

tests/test_engine/test_scenarios.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Tests for common scenarios."""
2+
23
import logging
34
from pathlib import Path
45

@@ -17,4 +18,4 @@ async def test_simple_execution(settings: Settings, fixtures_path: Path, caplog:
1718
execution = await engine.start("simple_test", source)
1819
print(execution)
1920
print(caplog.text)
20-
1/0
21+
1 / 0

tests/test_engine/test_token.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Tests for the Token class in the engine module."""
2+
23
from pathlib import Path
34

45
import pytest
@@ -163,7 +164,6 @@ async def test_start_new_token_with_execute(self, mocker):
163164
assert result.loop == mock_loop
164165
mock_execution.tokens.__setitem__.assert_called_with(result.id, result)
165166

166-
167167
@pytest.mark.asyncio
168168
async def test_inherits_parent_items_key(self, mocker):
169169
# Mock objects
@@ -192,7 +192,6 @@ async def test_inherits_parent_items_key(self, mocker):
192192
assert result.items_key == "parent_key"
193193
mock_execution.tokens.__setitem__.assert_called_with(result.id, result)
194194

195-
196195
@pytest.mark.asyncio
197196
async def test_no_parent_items_key(self, mocker):
198197
# Mock objects
@@ -237,6 +236,4 @@ async def test_execute_with_end_status(mocker):
237236
result = await token.execute(input_data={"key": "value"})
238237

239238
assert result is None
240-
token.log_e.assert_called_with(
241-
f"Token({token.id}).execute:end token status is end: return from execute!!"
242-
)
239+
token.log_e.assert_called_with(f"Token({token.id}).execute:end token status is end: return from execute!!")

tests/test_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Tests for pybpmn_server.server."""
2+
23
import asyncio
34
from unittest.mock import MagicMock
45

0 commit comments

Comments
 (0)