Chris Streeter

Results 16 comments of Chris Streeter

@dcramer I'm getting the same issue here. I'll look for a fix, but wanted to see if it should work and isn't (on Django 1.3.1).

I had attempted to fix the invoices method removal (in https://github.com/pinax/pinax-stripe/pull/622), but didn't know about the `auto_paging_iter` method. I updated my PR to use that, but keep the code coverage...

The problem is that the tests [mock the call out to `invoices.sync_invoices_for_customer`](https://github.com/pinax/pinax-stripe/blob/master/pinax/stripe/tests/test_commands.py#L79). Or, in the tests for the function itself, that is [also mocked](https://github.com/pinax/pinax-stripe/blob/master/pinax/stripe/tests/test_actions.py#L1671-L1674). The mocks aren't mocking a specific...

Here's actually how I solved it, which I also think should be backwards compatible with the previous version of the stripe-python library: ```python def sync_invoices_for_customer(customer): stripe_customer = customer.stripe_customer stripe_invoices =...