'Tests is_interface_valid method when interface is non existent'

def test_is_interface_valid_no_interface_error(self):

    interface_name = 'wlan0'
    with self.assertRaises(interfaces.InvalidInterfaceError):
        self.network_manager.is_interface_valid(interface_name)
