1
0
mirror of https://github.com/linkedin/oncall.git synced 2025-12-03 23:59:25 +02:00
Files
oncall/e2e/testutils.py

11 lines
361 B
Python
Raw Normal View History

2017-05-02 15:57:25 -07:00
# Copyright (c) LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license.
# See LICENSE in the project root for license information.
def prefix(prefix_str):
def wrapper(function):
function.prefix = prefix_str
return function
return wrapper
def api_v0(path):
return 'http://localhost:8080/api/v0/%s' % path