- CitrineOS core extracted (CSMS OCPP 2.0.1) - OpenOCPP extracted (firmware OCPP 1.6J/2.0.1) - ShapeShifter library installed (pip install -e) - ShapeShifter specification extracted - EVerest extracted TODO updated with progress
15 lines
715 B
Python
15 lines
715 B
Python
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright 2020 - 2023 Pionix GmbH and Contributors to EVerest
|
|
|
|
import shutil
|
|
|
|
def pytest_addoption(parser):
|
|
parser.addoption("--everest-prefix", action="store", default="~/checkout/everest-workspace/EVerest",
|
|
help="EVerest path; default = '~/checkout/everest-workspace/EVerest'")
|
|
parser.addoption("--libocpp", action="store", default="~/checkout/everest-workspace/libocpp",
|
|
help="libocpp path; default = '~/checkout/everest-workspace/libocpp'")
|
|
|
|
def pytest_configure(config):
|
|
everest_prefix = config.getoption("--everest-prefix")
|
|
shutil.copy("conf/ocpp16-config.json", f"{everest_prefix}/share/everest/modules/OCPP")
|