'Tests unblock_interface when the interface is blocked'

@mock.patch('wifiphisher.common.interfaces.pyw')
def test_unblock_interface_not_blocked_none(self, pyric):

    interface_name = 'wlan0'
    interface_object = 'Card    Object'
    adapter = interfaces.NetworkAdapter(interface_name, interface_object, self.mac_address)
    self.network_manager._name_to_object[interface_name] = adapter
    pyric.isblocked.return_value = False
    self.network_manager.unblock_interface(interface_name)
    pyric.unblock.assert_not_called()
