diff options
author | Lars Kellogg-Stedman <lars@redhat.com> | 2017-05-18 15:07:55 -0400 |
---|---|---|
committer | Lars Kellogg-Stedman <lars@redhat.com> | 2017-05-18 15:07:55 -0400 |
commit | afdddf8eea34866b43d1fc92624f9ac175802f36 (patch) | |
tree | 8e61fd8c5c859a8e7bcbca2a047aa53e660be876 /tests/unittests/test_handler/test_handler_ntp.py | |
parent | 951863c211ab0f8c43a9443d080dbbe0f6b454a6 (diff) | |
download | vyos-cloud-init-afdddf8eea34866b43d1fc92624f9ac175802f36.tar.gz vyos-cloud-init-afdddf8eea34866b43d1fc92624f9ac175802f36.zip |
cloudstack: fix tests to avoid accessing /var/lib/NetworkManager
on centos/fedora/rhel, /var/lib/NetworkManager has mode 700, causing
the cloudstack unit tests to fail when run as a non-root user. This
mocks out get_latest_lease so that we no longer try to read dhcp lease
information during the unit tests.
Diffstat (limited to 'tests/unittests/test_handler/test_handler_ntp.py')
0 files changed, 0 insertions, 0 deletions