

def test_create_and_find_with_properties(self):
    with user_generator(self.manager, name='herbert', secret='classified', access='private-party'):
        u = self.manager.get_user('herbert')
        self.assertEqual('herbert', u.id)
        self.assertEqual('herbert', u.name)
        self.assertEqual('classified', u.secret)
        self.assertEqual('private-party', u.access)

dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/test_auth.py _AuthManagerBaseTestCase.test_create_and_find_with_properties/original