'If lxc_hosts is deleted between runs, it should re-populate'

def test_emptying_lxc_hosts(self):

    inventory = get_inventory()
    original_lxc_hosts = inventory.pop('lxc_hosts')
    self.assertNotIn('lxc_hosts', inventory.keys())
    faked_path = INV_DIR
    with mock.patch('osa_toolkit.filesystem.load_inventory') as inv_mock:
        inv_mock.return_value = (inventory, faked_path)
        new_inventory = get_inventory()
    self.assertEqual(original_lxc_hosts, new_inventory['lxc_hosts'])
