Reviewed: https://review.opendev.org/722308 Committed: https://git.openstack.org/cgit/openstack/networking-bgpvpn/commit/?id=b5d51d0575208ddd161b94f2f3d5168407839859 Submitter: Zuul Branch: master
commit b5d51d0575208ddd161b94f2f3d5168407839859 Author: Corey Bryant <email address hidden> Date: Thu Apr 23 14:40:37 2020 -0400
mock out ProviderConfiguration.__init__
In some environments unit tests fails due to tests attempting to access /etc/neutron/ and not having permission to do so. Let's mock out add_provider_configuration to avoid this behaviour in unit test environment.
Change-Id: If385c26e4a6bd9eca5bd873df4d25a2d888dd9a9 Closes-Bug: #1872514
Reviewed: https:/ /review. opendev. org/722308 /git.openstack. org/cgit/ openstack/ networking- bgpvpn/ commit/ ?id=b5d51d05752 08ddd161b94f2f3 d5168407839859
Committed: https:/
Submitter: Zuul
Branch: master
commit b5d51d0575208dd d161b94f2f3d516 8407839859
Author: Corey Bryant <email address hidden>
Date: Thu Apr 23 14:40:37 2020 -0400
mock out ProviderConfigu ration. __init_ _
In some environments unit tests fails due to tests attempting to configuration to avoid this behaviour in
access /etc/neutron/ and not having permission to do so. Let's
mock out add_provider_
unit test environment.
Change-Id: If385c26e4a6bd9 eca5bd873df4d25 a2d888dd9a9
Closes-Bug: #1872514