vagrant/test/unit
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
..
bin Add coverage on vagrantfile_name stubbing behavior 2018-07-18 10:50:41 -07:00
plugins Mock call to PrepareNetworks.list_interfaces in docker prepare_networks_test 2019-11-01 17:36:31 +01:00
support Remove virtualbox context from docker tests 2019-09-11 07:46:40 -07:00
templates Add ipv6 network config templates for SUSE based distributions 2019-08-09 17:23:46 +02:00
vagrant Add coverage on new behavior of FileChecksum 2019-10-08 11:23:48 -07:00
base.rb Only run tests that require bsdtar if it is available 2019-06-19 15:29:55 -07:00
vagrant_test.rb add `Vagrant.version?` helper method 2018-09-07 11:37:30 +02:00