Skip to content

Commit

Permalink
Merge "Fix occurences of adatper"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Feb 1, 2017
2 parents bf7c25f + fc11bac commit 11f77e0
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 11f77e0

Please sign in to comment.