Skip to content

Commit

Permalink
TST test for GH-164
Browse files Browse the repository at this point in the history
  • Loading branch information
kmike committed Feb 5, 2018
1 parent f05c870 commit e40ca4f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,11 @@ def _buildresponse(body, **kwargs):
assert 'clickable1' not in fs
assert fs['one'] == ['1']
assert fs['two'] == ['2']


def test_splash_request_meta():
meta = {'foo': 'bar'}
req = SplashRequest('http://example.com', meta=meta)
assert 'splash' in req.meta
assert req.meta['foo'] == 'bar'
assert meta == {'foo': 'bar'}

0 comments on commit e40ca4f

Please sign in to comment.