Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Commit

Permalink
clean up tests
Browse files Browse the repository at this point in the history
perigrin committed Oct 2, 2020
1 parent f4c54f4 commit a517898
Showing 2 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -23,7 +23,8 @@ deps: ## Update dependencies to latest version
.PHONY: test
test: ## Ensure that code matches best practices
staticcheck ./...
go test
go vet
TZ=UTC go test

.PHONY: help
help: ## Display this help message
12 changes: 7 additions & 5 deletions devices_integration_test.go
Original file line number Diff line number Diff line change
@@ -69,6 +69,7 @@ func TestDeviceAPIIntegration(t *testing.T) {
})

t.Run("fetch device validation state", func(t *testing.T) {
defer errorHandler()

s := API.Devices().ValidationState(testDevice.ID.String())
t.Logf("got %v", s)
@@ -82,12 +83,13 @@ func TestDeviceAPIIntegration(t *testing.T) {

// GetInterface
t.Run("fetch device interface", func(t *testing.T) {
return // TODO: sort out device report submission

defer errorHandler()
// TODO: sort out device report submission
/*
defer errorHandler()
s := API.Devices().GetIPMI(testDevice.ID.String())
t.Logf("got %v", s)
s := API.Devices().GetIPMI(testDevice.ID.String())
t.Logf("got %v", s)
*/
})

t.Run("remove device", func(t *testing.T) {

0 comments on commit a517898

Please sign in to comment.