Commit 3e02e714 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Adjust funcional tests

parent b44a5a37
......@@ -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'):
......
......@@ -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"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment