- self.assertEqual(res['output']['configuration-response-common']['response-code'], '200')
- self.assertEqual(res['output']['configuration-response-common']['response-message'],
- 'Path is calculated by GNPy')
- self.assertEqual(res['output']['gnpy-response'][0]['path-dir'], 'A-to-Z')
- self.assertEqual(res['output']['gnpy-response'][0]['feasibility'],True)
- self.assertEqual(res['output']['gnpy-response'][1]['path-dir'], 'Z-to-A')
- self.assertEqual(res['output']['gnpy-response'][1]['feasibility'],True)
+ self.assertEqual(res['output']['configuration-response-common'][
+ 'response-code'], '200')
+ self.assertEqual(res['output']['configuration-response-common'][
+ 'response-message'],
+ 'Path is calculated by GNPy')
+ self.assertEqual(res['output']['gnpy-response'][0]['path-dir'],
+ 'A-to-Z')
+ self.assertEqual(res['output']['gnpy-response'][0]['feasibility'], True)
+ self.assertEqual(res['output']['gnpy-response'][1]['path-dir'],
+ 'Z-to-A')
+ self.assertEqual(res['output']['gnpy-response'][1]['feasibility'], True)