Skip to content
Snippets Groups Projects
controller_test.go 455 B
Newer Older
  • Learn to ignore specific revisions
  • package integration_test
    
    import (
    	"testing"
    
    	integration_test_utils "code.fbi.h-da.de/danet/gosdn/integration-tests/integrationTestUtils"
    )
    
    func TestExample(t *testing.T) {
    	conn, err := integration_test_utils.CreateConnection()
    	if err != nil {
    		t.Errorf(err.Error())
    	}
    	sndConfig, err := integration_test_utils.PrepareEvironment(conn)
    	if err != nil {
    		t.Errorf(err.Error())
    	}
    	defer integration_test_utils.RestoreEnvironment(conn, sndConfig)
    }