def test_sandbox_url_with_different_api(self): self.assertEquals(Connection._get_login_url(True, 'v33.0'), 'https://test.salesforce.com/services/Soap/u/v33.0')
def test_sandbox_url_with_different_api(self): self.assertEquals(Connection._get_login_url(True, 'v33.0'), 'https://test.salesforce.com/services/Soap/u/v33.0')
def test_default_login_url(self): self.assertEquals(Connection._get_login_url(False, 'v29.0'), 'https://login.salesforce.com/services/Soap/u/v29.0')
def test_default_login_url(self): self.assertEquals( Connection._get_login_url(False, 'v29.0'), 'https://login.salesforce.com/services/Soap/u/v29.0')