def test_user_defined_endpoint(self):
        response = self.get_response('/styles', 200)
        assert len(json.loads(response.get_data(as_text=True))[u'resources']) == 25
Test that parsing happens when fed a complete line.
dataset/ETHPy150Open jeffknupp/sandman/tests/test_sandman.py/TestSandmanUserDefinitions.test_user_defined_endpoint--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/protocols/haproxy/test/test_v1parser.py/V1ParserTests.test_feedParsing