diff --git a/tests/test_request.py b/tests/test_request.py index 8aac098..5ebb7ae 100644 --- a/tests/test_request.py +++ b/tests/test_request.py @@ -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'} \ No newline at end of file