diff --git a/README.rst b/README.rst index 42ca390..afc4781 100755 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -.. image:: http://i.imgur.com/BIcvhtP.jpg +.. image:: http://i.imgur.com/kKZPYut.jpg :width: 100% :alt: grappa logo :align: center @@ -77,7 +77,7 @@ Or install the latest sources from Github: .. _`tutorial`: http://grappa-http.readthedocs.io/en/latest/tutorial.html .. _`examples`: http://grappa-http.readthedocs.io/en/latest/examples.html -.. |Build Status| image:: https://travis-ci.org/grappa-python/grappa-http.svg?branch=master +.. |Build Status| image:: https://travis-ci.org/grappa-python/http.svg?branch=master :target: https://travis-ci.org/grappa-python/grappa-http .. |PyPI| image:: https://img.shields.io/pypi/v/grappa-http.svg?maxAge=2592000?style=flat-square :target: https://pypi.python.org/pypi/grappa-http diff --git a/tests/operators/body_test.py b/tests/operators/body_test.py index 6a1cc3a..c867d92 100644 --- a/tests/operators/body_test.py +++ b/tests/operators/body_test.py @@ -4,10 +4,10 @@ def test_body_operator(should): - pook.get('foo.com', reply=200, response_json={'foo': 'bar'}) + pook.get('foo.com', reply=200, response_body='hello world') res = requests.get('http://foo.com') - res | should.have.body.equal.to('{\n "foo": "bar"\n}') + res | should.have.body.equal.to('hello world') with pytest.raises(AssertionError): res | should.have.body('foo')