From: Stavros Sachtouris Date: Fri, 8 Mar 2013 12:30:13 +0000 (+0200) Subject: Unittest clients.pithos get account versioning X-Git-Tag: 0.9rc1~90^2~30 X-Git-Url: https://code.grnet.gr/git/kamaki/commitdiff_plain/16b779815c047b4f56d4d2ba255800621a8509eb Unittest clients.pithos get account versioning --- diff --git a/kamaki/clients/test/pithos.py b/kamaki/clients/test/pithos.py index ba6de41..ee88a37 100644 --- a/kamaki/clients/test/pithos.py +++ b/kamaki/clients/test/pithos.py @@ -764,3 +764,9 @@ class Pithos(TestCase): with patch.object(PC, 'get_account_info', return_value=account_info): r = self.client.get_account_quota() self.assertEqual(r[key], account_info[key]) + + def test_get_account_versioning(self): + key = 'x-account-policy-versioning' + with patch.object(PC, 'get_account_info', return_value=account_info): + r = self.client.get_account_versioning() + self.assertEqual(r[key], account_info[key])