Skip to content

Commit 43b8f27

Browse files
committed
Add param to skip state assertions: update executor
1 parent de27381 commit 43b8f27

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

utbot-python-executor/src/main/python/utbot_executor/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "utbot-executor"
3-
version = "1.9.2.dev1"
3+
version = "1.9.4"
44
description = ""
55
authors = ["Vyacheslav Tamarin <vyacheslav.tamarin@yandex.ru>"]
66
readme = "README.md"

utbot-python-executor/src/main/python/utbot_executor/utbot_executor/__main__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
from utbot_executor.utils import TraceMode
77

88

9-
def main(
10-
config: Config
11-
):
12-
server = PythonExecuteServer(config)
9+
def main(executor_config: Config):
10+
server = PythonExecuteServer(executor_config)
1311
server.run()
1412

1513

utbot-python-executor/src/main/python/utbot_executor/utbot_executor/listener.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ def __init__(self, config: Config):
2020
self.clientsocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
2121
self.clientsocket.connect((config.server.hostname, config.server.port))
2222
self.executor = PythonExecutor(
23-
config.coverage.server.hostname,
24-
config.coverage.server.port,
25-
config.coverage.trace_mode,
26-
config.coverage.send_coverage,
23+
config.coverage,
24+
config.state_assertions,
2725
)
2826
self.config = config
2927

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.9.2
1+
1.9.4

0 commit comments

Comments
 (0)