def test_detailed(self):
        with client.test_mode as t:
            t.register_json('/projects/1/', {
                'id': 1,
                'related': {'last_update':
                            '/api/v1/projects/1/project_updates/42/'},
            })
            t.register_json('/projects/1/project_updates/42/', {
                'elapsed': 1335024000.0,
                'extra': 'ignored',
                'failed': False,
                'status': 'successful',
            })
            result = self.res.status(1, detail=True)
            self.assertEqual(result, {
                'elapsed': 1335024000.0,
                'extra': 'ignored',
                'failed': False,
                'status': 'successful',
            })
            self.assertEqual(len(t.requests), 2)
View previous entries
dataset/ETHPy150Open ansible/tower-cli/tests/test_resources_project.py/StatusTests.test_detailed--crossover with--dataset/ETHPy150Open coleifer/walrus/examples/diary.py/view_entries