File: test_aiohttp_responses.py

package info (click to toggle)
python-openapi-core 0.22.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,104 kB
  • sloc: python: 19,979; makefile: 44
file content (9 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
import pytest

from openapi_core.contrib.aiohttp.responses import AIOHTTPOpenAPIWebResponse


class TestAIOHTTPOpenAPIWebResponse:
    def test_type_invalid(self):
        with pytest.raises(TypeError):
            AIOHTTPOpenAPIWebResponse(None)