def METHOD_NAME(self):
    view = views.LogData.as_view({'post': 'create'})
    data = {
        'data': {
            'request': {
                'command': 'FakeApiCommand'
            },
            'response': {},
        }
    }
    request = self.factory.post(
        reverse('data_log:log-upload-list'),
        data=data,
        format='json',
    )
    response = view(request)
    self.assertEqual(response.status_code, 400)
    self.assertIsNotNone(response.data.get('detail'))
    self.assertTrue(response.data.get('reinit'))