Fix local tests

This commit is contained in:
andig 2021-08-03 21:01:34 +02:00
parent c8ecbaabe5
commit aa4ade84ce
2 changed files with 3 additions and 0 deletions

View file

@ -21,6 +21,7 @@ func TestChargers(t *testing.T) {
"connect: connection refused",
"error connecting: Network Error",
"i/o timeout",
"(Client.Timeout exceeded while awaiting headers)",
}
for _, tmpl := range test.ConfigTemplates("charger") {

View file

@ -18,6 +18,8 @@ func TestMeters(t *testing.T) {
"connect: no route to host",
"connect: connection refused",
"i/o timeout",
"no ping response for 192.0.2.2", // SMA
"[1ESY1161052714 1ESY1161229249 1EMH0008842285 1ESY1161978584 1EMH0004864048 1ESY1161979033 7ELS8135823805]", // Discovergy
}
for _, tmpl := range test.ConfigTemplates("meter") {