Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
kamaki
Commits
be4eb3fa
Commit
be4eb3fa
authored
Dec 12, 2012
by
Stavros Sachtouris
Browse files
Re-activate get/set_profile unittests
parent
7341c226
Changes
1
Hide whitespace changes
Inline
Side-by-side
kamaki/clients/tests.py
View file @
be4eb3fa
...
...
@@ -503,13 +503,11 @@ class testCyclades(unittest.TestCase):
print
(
'...ok'
)
sys
.
stdout
.
write
(
' test get_firewall_profile'
)
print
(
'
\t
SKIP'
)
#self._test_get_firewall_profile()
self
.
_test_get_firewall_profile
()
print
(
'...ok'
)
sys
.
stdout
.
write
(
' test set_firewall_profile'
)
print
(
'
\t
SKIP'
)
#self._test_set_firewall_profile()
self
.
_test_set_firewall_profile
()
print
(
'...ok'
)
sys
.
stdout
.
write
(
' test get_server_stats'
)
...
...
@@ -989,7 +987,7 @@ class testCyclades(unittest.TestCase):
def
_test_set_firewall_profile
(
self
):
self
.
_wait_for_status
(
self
.
server1
[
'id'
],
'BUILD'
)
PROFILES
=
[
'DISABLED'
,
'ENABLED'
,
'PROTECTED'
]
PROFILES
=
[
'DISABLED'
,
'ENABLED'
,
'DISABLED'
,
'PROTECTED'
]
fprofile
=
self
.
client
.
get_firewall_profile
(
self
.
server1
[
'id'
])
print
(
''
)
count_success
=
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment