Skip to content

Commit 388015f

Browse files
committed
chore: small cleanups
- venv in gitignore since we use venv for releases - TestMain is unneeeded - alias is unused
1 parent e42bf7f commit 388015f

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ cover.out
33
k8test
44
bin/
55
image.tar
6+
venv/

pkg/internal/integration/main_test.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"testing"
1313
"time"
1414

15-
cloudscale "github.com/cloudscale-ch/cloudscale-go-sdk/v6"
15+
"github.com/cloudscale-ch/cloudscale-go-sdk/v6"
1616
"github.com/stretchr/testify/suite"
1717
"golang.org/x/oauth2"
1818
v1 "k8s.io/api/core/v1"
@@ -23,11 +23,6 @@ import (
2323
"k8s.io/client-go/tools/clientcmd"
2424
)
2525

26-
func TestMain(m *testing.M) {
27-
exitStatus := m.Run()
28-
os.Exit(exitStatus)
29-
}
30-
3126
func TestIntegration(t *testing.T) {
3227
suite.Run(t, new(IntegrationTestSuite))
3328
}

0 commit comments

Comments
 (0)