Fix occurences of `adatper`

Interestingly there is more than 1.

Change-Id: I14ee8e233cfdb89e385a35eb624412cac3691b89
This commit is contained in:
Jamie Lennox 2017-02-01 15:54:46 +11:00
parent 86fb33d13d
commit fc11bac6cc
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -374,7 +374,7 @@ class SessionAdapterTests(base.TestCase):
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,