'Test setting has_ap_mode variable with invalid value'

def test_has_ap_mode_set_invalid_value_error(self):

    with self.assertRaises(interfaces.InvalidValueError):
        self.adapter.has_ap_mode = 'Invalid    Value'
