Skip to content

Commit

Permalink
Use alphabetical ordering.
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshageman-stripe committed Jan 26, 2019
1 parent 1756e79 commit 661b04c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_api_requestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,18 +231,18 @@ def setup_stripe(self):
orig_attrs = {
"api_key": stripe.api_key,
"api_version": stripe.api_version,
"enable_telemetry": stripe.enable_telemetry,
"default_http_client": stripe.default_http_client,
"enable_telemetry": stripe.enable_telemetry,
}
stripe.api_key = "sk_test_123"
stripe.api_version = "2017-12-14"
stripe.enable_telemetry = False
stripe.default_http_client = None
stripe.enable_telemetry = False
yield
stripe.api_key = orig_attrs["api_key"]
stripe.api_version = orig_attrs["api_version"]
stripe.enable_telemetry = orig_attrs["enable_telemetry"]
stripe.default_http_client = orig_attrs["default_http_client"]
stripe.enable_telemetry = orig_attrs["enable_telemetry"]

@pytest.fixture
def http_client(self, mocker):
Expand Down

0 comments on commit 661b04c

Please sign in to comment.