diff options
author | jfwood <john.wood@rackspace.com> | 2013-11-25 16:52:44 -0600 |
---|---|---|
committer | jfwood <john.wood@rackspace.com> | 2013-11-25 16:52:44 -0600 |
commit | fb6e4ab6c4dd7f2d61c8dce6a96839eeb83c0fab (patch) | |
tree | a54237fe2679607c4d345bb8ef86db9903ddb9a0 /barbicanclient/base.py | |
parent | 9948609fab0916ec02a637615270c6afa58ef9ad (diff) | |
download | python-barbicanclient-fb6e4ab6c4dd7f2d61c8dce6a96839eeb83c0fab.tar.gz |
Add remaining verification unit test and keep files/mods.
Diffstat (limited to 'barbicanclient/base.py')
-rw-r--r-- | barbicanclient/base.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/barbicanclient/base.py b/barbicanclient/base.py index 5e63f88..0736e5f 100644 --- a/barbicanclient/base.py +++ b/barbicanclient/base.py @@ -26,13 +26,3 @@ class BaseEntityManager(object): for k in dictionary.keys(): if dictionary[k] is None: dictionary.pop(k) - - def total(self): - """ - Returns the total number of entities stored in Barbican. - """ - href = '{0}/{1}'.format(self.api.base_url, self.entity) - params = {'limit': 0, 'offset': 0} - resp = self.api.get(href, params) - - return resp['total'] |