@@ -0,0 +1,853 @@
+from unittest import mock%0A%0Afrom aioworkers.net.web.request import Request%0A%0A%0Aasync def test_content_length():%0A    r = Request(%0A        %7B%22headers%22: %5B(b%22Content-Length%22, b%221%22)%5D%7D,%0A        receive=mock.Mock(),%0A        send=mock.Mock(),%0A        context=mock.Mock(),%0A        app=mock.Mock(),%0A    )%0A    assert r.content_length == 1%0A%0A%0Aasync def test_method():%0A    r = Request(%0A        %7B%22method%22: %22GET%22%7D,%0A        receive=mock.Mock(),%0A        send=mock.Mock(),%0A        context=mock.Mock(),%0A        app=mock.Mock(),%0A    )%0A    assert r.method == %22GET%22%0A%0A%0Aasync def test_url():%0A    r = Request(%0A        %7B%0A            %22scheme%22: %22http%22,%0A            %22path%22: %22/api%22,%0A            %22query_string%22: b%22a=yes%22,%0A        %7D,%0A        receive=mock.Mock(),%0A        send=mock.Mock(),%0A        context=mock.Mock(),%0A        app=mock.Mock(),%0A    )%0A    assert r.url.query.get(%22a%22) == %22yes%22%0A

add tests of request