Skip to content

Commit

Permalink
Fix occurences of adatper
Browse files Browse the repository at this point in the history
Interestingly there is more than 1.

Change-Id: I14ee8e233cfdb89e385a35eb624412cac3691b89
  • Loading branch information
jamielennox committed Feb 1, 2017
1 parent 86fb33d commit fc11bac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The Basics
==========

Everything in `requests`_ eventually goes through an adapter to do the transport work.
`requests-mock` creates a custom `adatper` that allows you to predefine responses when certain URIs are called.
`requests-mock` creates a custom `adapter` that allows you to predefine responses when certain URIs are called.

There are then a number of methods provided to get the adapter used.

Expand Down
2 changes: 1 addition & 1 deletion requests_mock/tests/test_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def test_called_and_called_count(self):
self.assertTrue(self.adapter.called)
self.assertFalse(m.called_once)

def test_adapter_picks_correct_adatper(self):
def test_adapter_picks_correct_adapter(self):
good = '%s://test3.url/' % self.PREFIX
self.adapter.register_uri('GET',
'%s://test1.url' % self.PREFIX,
Expand Down

0 comments on commit fc11bac

Please sign in to comment.