Commit 55388042 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki

pithos: Fix test

parent f8fcdba8
......@@ -204,7 +204,7 @@ class TestPublic(PithosAPITest):
url = join_urls(self.pithos_path, self.user, cname, oname)
r = self.get('%s?version=list&format=json' % url)
version_list = json.loads(r.content)['versions']
mtime = [int(t[1]) for t in version_list]
mtime = [int(float(t[1])) for t in version_list]
# delete object history
i = random.randrange(len(mtime))
......
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