def test_workflow_detail_view(self):
        response = self.client.get(reverse(
            'workflow-detail',
            kwargs={'app_name': 'tests'}))

        self.assertEqual(response.status_code, 200,
                         'Response did not result in success')
        self.assertQuerysetEqual(
            response.context['requests'], [],
            'Response did not result in the expected '
            'instances of the workflow')
Test to get requests for a workflow
dataset/ETHPy150Open faxad/ActivFlow/activflow/tests/tests.py/CoreTests.test_workflow_detail_view