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