Skip to content

Commit 82574e0

Browse files
author
Erick Sapp
committed
Updates to fixture and unit test.
1 parent 8bbbe78 commit 82574e0

File tree

2 files changed

+34
-4
lines changed

2 files changed

+34
-4
lines changed

SoftLayer/fixtures/SoftLayer_Event_Log.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@
126126

127127
getAllEventObjectNames = [
128128
{
129-
'value': 'CCI'
129+
'value': "Account"
130130
},
131131
{
132-
'value': 'Security Group'
132+
'value': "CDN"
133133
},
134134
{
135135
'value': "User"

tests/CLI/modules/event_log_tests.py

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,40 @@ def test_get_event_log(self):
119119
def test_get_event_log_types(self):
120120
expected = [
121121
{
122-
'types': 'CCI'
122+
"types": {"value": "Account"}
123123
},
124124
{
125-
'types': 'Security Group'
125+
"types": {"value": "CDN"}
126+
},
127+
{
128+
"types": {"value": "User"}
129+
},
130+
{
131+
"types": {"value": "Bare Metal Instance"}
132+
},
133+
{
134+
"types": {"value": "API Authentication"}
135+
},
136+
{
137+
"types": {"value": "Server"}
138+
},
139+
{
140+
"types": {"value": "CCI"}
141+
},
142+
{
143+
"types": {"value": "Image"}
144+
},
145+
{
146+
"types": {"value": "Bluemix LB"}
147+
},
148+
{
149+
"types": {"value": "Facility"}
150+
},
151+
{
152+
"types": {"value": "Cloud Object Storage"}
153+
},
154+
{
155+
"types": {"value": "Security Group"}
126156
}
127157
]
128158

0 commit comments

Comments
 (0)