Skip to content

Commit

Permalink
Resolve tox conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ahopkins committed Jan 2, 2020
2 parents 0fd35bb + d541dcd commit f9fc2d5
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ env:
matrix:
fast_finish: true
include:
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.7"
Expand Down
2 changes: 1 addition & 1 deletion docs/source/pages/endpoints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ What if we wanted a ``/register`` endpoint? It could easily be added like this:
self.config.refresh_token_name(): refresh_token
})
response = self.responses.get_token_reponse(
response = self.responses.get_token_response(
request,
access_token,
output,
Expand Down
2 changes: 1 addition & 1 deletion example/custom_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def post(self, request, *args, **kwargs):
)
output.update({self.config.refresh_token_name: refresh_token})

response = self.responses.get_token_reponse(
response = self.responses.get_token_response(
request,
access_token,
output,
Expand Down
4 changes: 2 additions & 2 deletions sanic_jwt/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async def post(self, request, *args, **kwargs):

output = await self.do_output(output)

resp = self.responses.get_token_reponse(
resp = self.responses.get_token_response(
request,
access_token,
output,
Expand Down Expand Up @@ -190,7 +190,7 @@ async def post(self, request, *args, **kwargs):
)
output = await self.do_output(output)

resp = self.responses.get_token_reponse(
resp = self.responses.get_token_response(
request, access_token, output, config=self.config
)

Expand Down
2 changes: 1 addition & 1 deletion sanic_jwt/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async def get_access_token_output(request, user, config, instance):
return access_token, output

@staticmethod
def get_token_reponse(
def get_token_response(
request, access_token, output, config, refresh_token=None
):
response = json(output)
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ setenv =
PYTHONPATH={toxinidir}/tests
PYTHONUNBUFFERED=yes
passenv = *
; usedevelop = true
deps =
aiohttp
cryptography
Expand Down

0 comments on commit f9fc2d5

Please sign in to comment.