Merge pull request #380 from mesosphere/organize-test-files

organize test data files
This commit is contained in:
tamarrow
2015-12-03 16:44:21 -08:00
5 changed files with 3 additions and 13 deletions

View File

@@ -1,11 +0,0 @@
{
"id": "test-app2",
"cmd": "sleep 1000",
"cpus": 0.1,
"mem": 16,
"instances": 1,
"labels": {
"PACKAGE_ID": "test-app",
"PACKAGE_VERSION": "1.2.3"
}
}

View File

@@ -28,7 +28,7 @@ def missing_env():
r.update({
constants.PATH_ENV: os.environ[constants.PATH_ENV],
constants.DCOS_CONFIG_ENV:
os.path.join("tests", "data", "missing_params_dcos.toml")
os.path.join("tests", "data", "config", "missing_params_dcos.toml")
})
return r

View File

@@ -48,7 +48,8 @@ def missing_env():
env.update({
constants.PATH_ENV: os.environ[constants.PATH_ENV],
constants.DCOS_CONFIG_ENV:
os.path.join("tests", "data", "missing_marathon_params.toml")
os.path.join("tests", "data", "marathon",
"missing_marathon_params.toml")
})
return env