Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to raise and clear error in test controller #171

Merged
merged 3 commits into from
Nov 29, 2024

Conversation

maaikez
Copy link
Contributor

@maaikez maaikez commented Nov 27, 2024

Needed for reservation tests.

See other related pull requests:
EVerest/everest-core#972
EVerest/libocpp#878

Signed-off-by: Maaike Zijderveld, iolar <git.mail@iolar.nl>
@@ -86,6 +86,26 @@ def diode_fail(self, connector_id=1):
f"{self._mqtt_external_prefix}everest_external/nodered/{connector_id}/carsim/cmd/execute_charging_session",
"sleep 1;iec_wait_pwr_ready;sleep 1;draw_power_regulated 32,3;sleep 5;diode_fail;sleep 36000;unplug")

def raise_error(self, connector_id=1):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice if one could specify an error string here, it can still default to MREC6UnderVoltage

Signed-off-by: Maaike Zijderveld, iolar <git.mail@iolar.nl>
…ted and removed)

Signed-off-by: Maaike Zijderveld, iolar <git.mail@iolar.nl>
@maaikez maaikez merged commit de49492 into main Nov 29, 2024
7 checks passed
@maaikez maaikez deleted the feature/raise_error branch December 2, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants