From e40ca4f3b367ab463273bee1357d3edfe0601f0d Mon Sep 17 00:00:00 2001 From: Mikhail Korobov Date: Mon, 5 Feb 2018 16:59:26 +0500 Subject: [PATCH] TST test for GH-164 --- tests/test_request.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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