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
3e02e714
Commit
3e02e714
authored
Jun 27, 2013
by
Stavros Sachtouris
Browse files
Adjust funcional tests
parent
b44a5a37
Changes
2
Hide whitespace changes
Inline
Side-by-side
kamaki/clients/livetest/image.py
View file @
3e02e714
...
...
@@ -151,7 +151,7 @@ class Image(livetest.Generic):
'size'
):
self
.
assertTrue
(
term
in
img
)
if
len
(
img
[
'properties'
]):
for
interm
in
(
'osfamily'
,
'users'
,
'root_partition'
):
for
interm
in
(
'osfamily'
,
'root_partition'
):
self
.
assertTrue
(
interm
in
img
[
'properties'
])
size_max
=
1000000000000
r2
=
self
.
client
.
list_public
(
filters
=
dict
(
size_max
=
size_max
))
...
...
@@ -181,11 +181,8 @@ class Image(livetest.Generic):
'container-format'
):
self
.
assertTrue
(
term
in
r
)
for
interm
in
(
'KERNEL'
,
'OSFAMILY'
,
'USERS'
,
'GUI'
,
'SORTORDER'
,
'ROOT_PARTITION'
,
'OS'
,
'DESCRIPTION'
):
...
...
kamaki/clients/livetest/pithos.py
View file @
3e02e714
...
...
@@ -210,7 +210,7 @@ class Pithos(livetest.Generic):
r
=
self
.
client
.
account_get
(
show_only_shared
=
True
)
self
.
assertTrue
(
self
.
c1
in
[
c
[
'name'
]
for
c
in
r
.
json
])
r
=
self
.
client
.
account_get
(
until
=
1342609206
)
r
=
self
.
client
.
account_get
(
until
=
1342609206
.0
)
self
.
assertTrue
(
len
(
r
.
json
)
<=
fullLen
)
"""Check if(un)modified_since"""
...
...
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