First, thanks for your work on this project it has been really helpful.
The mocurly decorator doesn't seem to work on class methods:
class RecurlyTestCase(unittest.TestCase):
@mocurly
def test_count_recurly_accounts(self):
for i in range(10):
recurly.Account(account_code=str(i)).save()
assert count_recurly_accounts() == 10
First, thanks for your work on this project it has been really helpful.
The mocurly decorator doesn't seem to work on class methods:
raises the following exception:
I would have made a pull request, but I'm not sure how to fix this.