Ejemplo n.º 1
0
def test_get_collector_path_with_base_url():
    assert get_collector_path(
        'https://metric-api.iopipe.com/foo') == '/foo/v0/event'
Ejemplo n.º 2
0
def test_get_collector_path_no_arguments():
    assert get_collector_path() == "/v0/event"
Ejemplo n.º 3
0
def test_get_collector_path_no_arguments():
    assert get_collector_path() == '/v0/event'
Ejemplo n.º 4
0
def test_get_collector_path_with_base_url():
    assert get_collector_path("https://metric-api.iopipe.com/foo") == "/foo/v0/event"