def test_get_collector_path_with_base_url():
    assert get_collector_path(
        'https://metric-api.iopipe.com/foo') == '/foo/v0/event'
def test_get_collector_path_no_arguments():
    assert get_collector_path() == "/v0/event"
def test_get_collector_path_no_arguments():
    assert get_collector_path() == '/v0/event'
def test_get_collector_path_with_base_url():
    assert get_collector_path("https://metric-api.iopipe.com/foo") == "/foo/v0/event"