Commit 24851aa5 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Unittest clients.pithos get account info

parent 0775d2bd
# Copyright 2011 GRNET S.A. All rights reserved.
# Copyright 2011-2013 GRNET S.A. All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
......
# Copyright 2011 GRNET S.A. All rights reserved.
# Copyright 2011-2013 GRNET S.A. All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
......
......@@ -656,7 +656,7 @@ class PithosClient(PithosRestAPI):
"""
r = self.account_head(until=until)
if r.status_code == 401:
raise ClientError("No authorization")
raise ClientError("No authorization", status=401)
return r.headers
def get_account_quota(self):
......
......@@ -37,7 +37,7 @@ from time import sleep
from kamaki.clients.test.astakos import Astakos
from kamaki.clients.test.cyclades import Cyclades
from kamaki.clients.test.image import Image
#from kamaki.clients.test.pithos import Pithos
from kamaki.clients.test.pithos import Pithos
def _add_value(foo, value):
......
# Copyright 2012-2013 GRNET S.A. All rights reserved.
# Copyright 2013 GRNET S.A. All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
......
# Copyright 2012-2013 GRNET S.A. All rights reserved.
# Copyright 2013 GRNET S.A. All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
......
This diff is collapsed.
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