Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Apr 10, 2023
1 parent 7803937 commit 1a9d7ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charger/template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 2 additions & 0 deletions meter/template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1a9d7ca

Please sign in to comment.