- with self.assertRaises(ValidationError) as exc:
- pod_spec.make_pod_spec(
- image_info, config, relation_state, app_name, port
- )
+ with self.assertRaises(ValidationError):
+ pod_spec.make_pod_spec(image_info, config, relation_state, app_name, port)