def test_user_list(self, mock): ''' Test if it return a list of available users (keystone user-list) ''' self.assertDictEqual(keystone.user_list(), {'nova': {'email': '*****@*****.**', 'id': '446', 'name': 'nova', 'enabled': 'True'}})
def test_user_list(self, mock): ''' Test if it return a list of available users (keystone user-list) ''' self.assertDictEqual(keystone.user_list(), {'nova': {'name': 'nova', 'tenant_id': 'a1a1', 'enabled': 'True', 'id': '446', 'password': '******', 'email': '*****@*****.**'}})
def test_user_list(self): """ Test if it return a list of available users (keystone user-list) """ self.assertDictEqual( keystone.user_list(), { "nova": { "name": "nova", "tenant_id": "a1a1", "enabled": "True", "id": "446", "password": "******", "email": "*****@*****.**", } }, )