# Path: httoop/exceptions.py
# class InvalidLine(Invalid):
# 	u"""error raised when first line is invalid"""


import pytest
from httoop.exceptions import InvalidLine
from __future__ import unicode_literals




def test_method_maxlength(request_):
	with pytest.raises(InvalidLine):
		request_.method.parse(b'A' * 21)


def test_method_valid_characters(request_):

# Path: httoop/exceptions.py
# class InvalidLine(Invalid):
# 	u"""error raised when first line is invalid"""


# Path: tests/messaging/test_request_method.py
import pytest
from httoop.exceptions import InvalidLine

from __future__ import unicode_literals




def test_method_maxlength(request_):
	with pytest.raises(InvalidLine):
		request_.method.parse(b'A' * 21)


def test_method_valid_characters(request_):

	with pytest.raises(InvalidLine):