From: Jérôme Benoit Date: Wed, 12 Jun 2024 20:09:50 +0000 (+0200) Subject: Merge branch 'main' of github.com:SAP/e-mobility-charging-stations-simulator X-Git-Tag: v1.3.7~61 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=cac769b661e6fc0c55440f2b8a1f0b0094d95c32;hp=4a5e4693a5f9be6f513966dba2b45443a9e98d67;p=e-mobility-charging-stations-simulator.git Merge branch 'main' of github.com:SAP/e-mobility-charging-stations-simulator --- diff --git a/tests/ocpp-server/README.md b/tests/ocpp-server/README.md index e2a8149c..bb5d5b17 100644 --- a/tests/ocpp-server/README.md +++ b/tests/ocpp-server/README.md @@ -15,7 +15,7 @@ poetry install To start the server, run the `server.py` script: ```shell -python server.py +poetry run task server ``` The server will start listening for connections on port 9000. diff --git a/tests/ocpp-server/pyproject.toml b/tests/ocpp-server/pyproject.toml index d0c6d4e4..c83625fb 100644 --- a/tests/ocpp-server/pyproject.toml +++ b/tests/ocpp-server/pyproject.toml @@ -17,6 +17,7 @@ black = "^24" flake8 = "^7" [tool.taskipy.tasks] +server = "python server.py" format = "black . && isort ." lint = "black --check --diff . && isort --check --diff . && flake8 ."