@@ -43,8 +43,8 @@ func CreateExternalNetwork(t *testing.T, client *gophercloud.ServiceClient) (*ne
43
43
44
44
t .Logf ("Created external network: %s" , networkName )
45
45
46
- th .AssertEquals (t , network .Name , networkName )
47
- th .AssertEquals (t , network .Description , networkDescription )
46
+ th .AssertEquals (t , networkName , network .Name )
47
+ th .AssertEquals (t , networkDescription , network .Description )
48
48
49
49
return network , nil
50
50
}
@@ -74,9 +74,9 @@ func CreatePortWithSecurityGroup(t *testing.T, client *gophercloud.ServiceClient
74
74
75
75
t .Logf ("Successfully created port: %s" , portName )
76
76
77
- th .AssertEquals (t , port .Name , portName )
78
- th .AssertEquals (t , port .Description , portDescription )
79
- th .AssertEquals (t , port .NetworkID , networkID )
77
+ th .AssertEquals (t , portName , port .Name )
78
+ th .AssertEquals (t , portDescription , port .Description )
79
+ th .AssertEquals(t , networkID , port .NetworkID )
80
80
81
81
return port , nil
82
82
}
@@ -101,8 +101,8 @@ func CreateSecurityGroup(t *testing.T, client *gophercloud.ServiceClient) (*grou
101
101
102
102
t .Logf ("Created security group: %s" , secGroup .ID )
103
103
104
- th .AssertEquals (t , secGroup .Name , secGroupName )
105
- th .AssertEquals (t , secGroup .Description , secGroupDescription )
104
+ th .AssertEquals (t , secGroupName , secGroup .Name )
105
+ th .AssertEquals (t , secGroupDescription , secGroup .Description )
106
106
107
107
return secGroup , nil
108
108
}
0 commit comments