예제 #1
0
def test_default_api_url():
    result = api_utils.get_api_url()

    assert "https://rest.logentries.com" in result
예제 #2
0
def test_default_api_url():
    result = api_utils.get_api_url()

    assert "https://rest.logentries.com" in result
예제 #3
0
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
예제 #4
0
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