Exemple #1
0
 def get_c2d_address(self) -> str:
     result = urlparse(self.service_endpoint)
     return DataServiceProvider.get_c2d_address(
         f"{result.scheme}://{result.netloc}/")
def test_c2d_address(config):
    """Tests that a provider address exists on the DataServiceProvider."""
    provider_uri = DataSP.get_url(config)
    c2d_address = DataSP.get_c2d_address(provider_uri)
    assert c2d_address, "Failed to get provider address."