From 1a9d7caadf2a3ae5b9fb034c37ff203c1c2b3940 Mon Sep 17 00:00:00 2001 From: andig Date: Mon, 10 Apr 2023 17:26:38 +0200 Subject: [PATCH] chore: fix tests --- charger/template_test.go | 3 +++ meter/template_test.go | 2 ++ 2 files changed, 5 insertions(+) diff --git a/charger/template_test.go b/charger/template_test.go index 4f93e769b..6ef450850 100644 --- a/charger/template_test.go +++ b/charger/template_test.go @@ -25,6 +25,9 @@ var acceptable = []string{ "sponsorship required, see https://github.com/evcc-io/evcc#sponsorship", "eebus not configured", "context deadline exceeded", + "missing credentials", + "timeout", // ocpp + "must have uri and password", // Wattpilot } func TestTemplates(t *testing.T) { diff --git a/meter/template_test.go b/meter/template_test.go index acda7dbfb..61d5086c1 100644 --- a/meter/template_test.go +++ b/meter/template_test.go @@ -24,6 +24,8 @@ var acceptable = []string{ "can only have either uri or device", // modbus "(Client.Timeout exceeded while awaiting headers)", // http "context deadline exceeded", // LG ESS + "no ping response for 192.0.2.2", // SMA + "no such network interface", // SMA } func TestTemplates(t *testing.T) {