Skip to content

Commit e40ca4f

Browse files
committed
TST test for GH-164
1 parent f05c870 commit e40ca4f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/test_request.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,11 @@ def _buildresponse(body, **kwargs):
5050
assert 'clickable1' not in fs
5151
assert fs['one'] == ['1']
5252
assert fs['two'] == ['2']
53+
54+
55+
def test_splash_request_meta():
56+
meta = {'foo': 'bar'}
57+
req = SplashRequest('http://example.com', meta=meta)
58+
assert 'splash' in req.meta
59+
assert req.meta['foo'] == 'bar'
60+
assert meta == {'foo': 'bar'}

0 commit comments

Comments
 (0)