1
0
mirror of https://github.com/linkedin/oncall.git synced 2025-11-28 23:20:23 +02:00
Files
oncall/e2e/testutils.py
Qingping Hou 3f40264243 initial commit
2017-05-02 15:57:25 -07:00

11 lines
361 B
Python

# 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