def test_token_get(self, mock): ''' Test if it return the configured tokens (keystone token-get) ''' self.assertDictEqual(keystone.token_get(), {'expires': 'No', 'id': '446', 'tenant_id': 'ae04', 'user_id': 'admin'})
def test_token_get(self): """ Test if it return the configured tokens (keystone token-get) """ self.assertDictEqual( keystone.token_get(), { "expires": "No", "id": "446", "tenant_id": "ae04", "user_id": "admin" }, )