Skip to content

Commit

Permalink
Reformat with tan
Browse files Browse the repository at this point in the history
  • Loading branch information
therefromhere committed Mar 15, 2019
1 parent c138dfd commit 4bd9a43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@


class Migration(migrations.Migration):

def __init__(self, *args, **kwargs):
# Hack to support sqlite for quick testing. Without this migrations fail with:
# "django.db.utils.NotSupportedError: Renaming the 'djstripe_paymentmethod' table while in a transaction
Expand Down
4 changes: 1 addition & 3 deletions tests/test_webhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,7 @@ def test_webhook_with_transfer_event_duplicate(

@patch("stripe.Transfer.retrieve", return_value=deepcopy(FAKE_TRANSFER))
@patch("stripe.Event.retrieve")
def test_webhook_good(
self, event_retrieve_mock, transfer_retrieve_mock
):
def test_webhook_good(self, event_retrieve_mock, transfer_retrieve_mock):
djstripe_settings.WEBHOOK_SECRET = ""

fake_event = deepcopy(FAKE_EVENT_TRANSFER_CREATED)
Expand Down

0 comments on commit 4bd9a43

Please sign in to comment.