'Test setting is_managed_by_nm variable with invalid value'

def test_is_managed_by_nm_set_invalid_value_error(self):

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