Merged in feature/postprocessing (pull request #114)
Feature/postprocessing * tests * passtest * fixshorttests * mosttests * improvingbasedockerfile * testspeeds * testing * host * canparallel * clean * passfullsuite * singlepagemax * test * findfeatures * findstables * tbls * tablestoo * tablestoo * lateraltests * tableloc * cleanup * inlinetable * childids * cleanup * tests
This commit is contained in:
@@ -9,12 +9,12 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestCreateNetwork(t *testing.T) {
|
||||
func TestDepNetworkGet(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
ncfg, cleanup := test.CreateNetwork(t, ctx)
|
||||
assert.NotNil(t, ncfg)
|
||||
assert.NotNil(t, cleanup)
|
||||
name := test.DepNetwork.Get(t, ctx)
|
||||
assert.NotNil(t, name)
|
||||
|
||||
cleanup()
|
||||
newName := test.DepNetwork.Get(t, ctx)
|
||||
assert.Equal(t, name, newName)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user