Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
More fixes to update
Browse files Browse the repository at this point in the history
  • Loading branch information
yorinasub17 committed Aug 21, 2014
1 parent 9521260 commit f9fa38c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mocurly/endpoints.py
Expand Up @@ -60,7 +60,7 @@ def retrieve(self, pk, format=XML):
out = cls.backend.get_object(pk)
return self.serialize(out, format=format)

def update(self, pk, update_info):
def update(self, pk, update_info, format=XML):
cls = self.__class__
out = cls.backend.update_object(pk, update_info)
return self.serialize(out, format=format)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -4,7 +4,7 @@

setup(
name='mocurly',
version='0.0.4',
version='0.0.5',
description='A library that allows your python tests to easily mock out the recurly library',
author='Yoriyasu Yano',
author_email='yoriy@captricity.com',
Expand Down

0 comments on commit f9fa38c

Please sign in to comment.