Skip to content

Commit

Permalink
refactor(docs): update projec timage
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed Mar 17, 2017
1 parent f58b411 commit 7e3d77d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/operators/body_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 7e3d77d

Please sign in to comment.