vagrant/test/unit/plugins/providers/docker
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
..
action Mock call to PrepareNetworks.list_interfaces in docker prepare_networks_test 2019-11-01 17:36:31 +01:00
command (#9622) Use SafeExec for docker-exec 2018-05-02 14:23:50 -07:00
config_test.rb Config, validation and test 2018-09-19 10:24:09 -07:00
driver_compose_test.rb Ensure build_args are passed into docker compose config file 2019-10-07 12:48:59 -07:00
driver_test.rb Update docker driver and docker driver unit tests 2019-03-20 14:50:28 -07:00
provider_test.rb providers/docker: Fix usability check 2019-09-10 15:10:43 -07:00
synced_folder_test.rb (#9811) Add test for volume consistency and improve documentation 2018-07-27 15:16:39 -07:00