def test_default_api_url(): result = api_utils.get_api_url() assert "https://rest.logentries.com" in result
def test_default_api_url(): result = api_utils.get_api_url() assert "https://rest.logentries.com" in result
def test_generate_api_url(mocked_api_url): mocked_api_url.return_value = MOCK_API_URL result = api_utils.get_api_url() assert MOCK_API_URL in result
def test_generate_api_url(mocked_api_url): mocked_api_url.return_value = MOCK_API_URL result = api_utils.get_api_url() assert MOCK_API_URL in result