def test_request_DATA_with_text_content(self):
        content = six.b('qwerty')
        content_type = 'text/plain'
        request = Request(factory.post('/', content, content_type=content_type))
        request.parsers = (PlainTextParser(),)
        self.assertEqual(request.data, content)
Loads and returns a neural network with all the necessary data.
dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_request.py/TestContentParsing.test_request_DATA_with_text_content--crossover with--dataset/ETHPy150Open erickrf/nlpnet/bin/nlpnet-train.py/load_network_train