Merge "Added __init__.py to tests/services/identity/"
This commit is contained in:
		@@ -50,7 +50,7 @@ class TokenClient(rest_client.RestClient):
 | 
			
		||||
        if tenant:
 | 
			
		||||
            creds['auth']['tenantName'] = tenant
 | 
			
		||||
 | 
			
		||||
        body = json.dumps(creds)
 | 
			
		||||
        body = json.dumps(creds, sort_keys=True)
 | 
			
		||||
        resp, body = self.post(self.auth_url, body=body)
 | 
			
		||||
        self.expected_success(200, resp.status)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -116,7 +116,7 @@ class V3TokenClient(rest_client.RestClient):
 | 
			
		||||
        elif domain_name:
 | 
			
		||||
            creds['auth']['scope'] = dict(domain={'name': domain_name})
 | 
			
		||||
 | 
			
		||||
        body = json.dumps(creds)
 | 
			
		||||
        body = json.dumps(creds, sort_keys=True)
 | 
			
		||||
        resp, body = self.post(self.auth_url, body=body)
 | 
			
		||||
        self.expected_success(201, resp.status)
 | 
			
		||||
        return rest_client.ResponseBody(resp, body)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										0
									
								
								tempest_lib/tests/services/identity/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								tempest_lib/tests/services/identity/__init__.py
									
									
									
									
									
										Normal file
									
								
							@@ -48,7 +48,7 @@ class TestTokenClientV2(base.TestCase):
 | 
			
		||||
                    'password': 'fake_pass',
 | 
			
		||||
                },
 | 
			
		||||
            }
 | 
			
		||||
        })
 | 
			
		||||
        }, sort_keys=True)
 | 
			
		||||
        post_mock.mock.assert_called_once_with('fake_url/tokens',
 | 
			
		||||
                                               body=req_dict)
 | 
			
		||||
 | 
			
		||||
@@ -67,7 +67,7 @@ class TestTokenClientV2(base.TestCase):
 | 
			
		||||
                    'password': 'fake_pass',
 | 
			
		||||
                },
 | 
			
		||||
            }
 | 
			
		||||
        })
 | 
			
		||||
        }, sort_keys=True)
 | 
			
		||||
        post_mock.mock.assert_called_once_with('fake_url/tokens',
 | 
			
		||||
                                               body=req_dict)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -53,7 +53,7 @@ class TestTokenClientV2(base.TestCase):
 | 
			
		||||
                    }
 | 
			
		||||
                },
 | 
			
		||||
            }
 | 
			
		||||
        })
 | 
			
		||||
        }, sort_keys=True)
 | 
			
		||||
        post_mock.mock.assert_called_once_with('fake_url/auth/tokens',
 | 
			
		||||
                                               body=req_dict)
 | 
			
		||||
 | 
			
		||||
@@ -81,7 +81,7 @@ class TestTokenClientV2(base.TestCase):
 | 
			
		||||
                    }
 | 
			
		||||
                },
 | 
			
		||||
            }
 | 
			
		||||
        })
 | 
			
		||||
        }, sort_keys=True)
 | 
			
		||||
 | 
			
		||||
        post_mock.mock.assert_called_once_with('fake_url/auth/tokens',
 | 
			
		||||
                                               body=req_dict)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user