You've already forked oncall
mirror of
https://github.com/linkedin/oncall.git
synced 2025-12-02 23:58:38 +02:00
initial commit
This commit is contained in:
11
e2e/testutils.py
Normal file
11
e2e/testutils.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user