vagrant/test/unit/plugins/providers
Dan Čermák fe4743a22b
Mock call to PrepareNetworks.list_interfaces in docker prepare_networks_test
The test "generates a network name and configuration" calls at the end
`process_public_network()`, which can return an empty list if the currently
executing machine has no usable network interfaces (this is typically the case
for workers that build rpm packages in OBS or Koji). This results in an
exception of type Errors::NetworkNoInterfaces to be thrown and causing this test
to fail.

This commit adds a mock of the PrepareNetworks.list_interfaces call that returns
a single entry with just the required defaults.
2019-11-01 17:36:31 +01:00
..
docker Mock call to PrepareNetworks.list_interfaces in docker prepare_networks_test 2019-11-01 17:36:31 +01:00
hyperv Fixes #10229: Add timeout for changing hostname on windows 2018-11-02 09:23:00 -07:00
virtualbox virtualbox: Fix usability test to reject bad installs without crashing 2019-10-04 15:56:10 -07:00