mirror of
https://github.com/mvt-project/mvt.git
synced 2026-02-12 16:42:45 +00:00
Move backup binary artifact to seperate folder
This commit is contained in:
@@ -5,8 +5,7 @@ def get_artifact(fname):
|
||||
"""
|
||||
Return the artifact path in the artifact folder
|
||||
"""
|
||||
DATA_FOLDER = os.path.join(os.path.dirname(__file__), "artifacts")
|
||||
fpath = os.path.join(DATA_FOLDER, fname)
|
||||
fpath = os.path.join(get_artifact_folder(), fname)
|
||||
if os.path.isfile(fpath):
|
||||
return fpath
|
||||
return
|
||||
@@ -16,6 +15,9 @@ def get_artifact_folder():
|
||||
return os.path.join(os.path.dirname(__file__), "artifacts")
|
||||
|
||||
|
||||
def get_backup_folder():
|
||||
return os.path.join(os.path.dirname(__file__), "artifacts", "ios_backup")
|
||||
|
||||
def init_setup():
|
||||
"""
|
||||
init data to have a clean state before testing
|
||||
|
||||
Reference in New Issue
Block a user