aiohttp.web_urldispatcher.View

Here are the examples of the python api aiohttp.web_urldispatcher.View taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

Example 1

Project: aiohttp Source File: test_classbasedview.py
Function: test_ctor
def test_ctor():
    request = mock.Mock()
    view = View(request)
    assert view.request is request