Fix: is no longer needed thanks to WORKDIR

This commit is contained in:
Ben Rog-Wilhelm 2022-10-15 12:49:14 -05:00 committed by Ben Rog-Wilhelm
parent 2dd31a86a9
commit e2162a242f
2 changed files with 0 additions and 2 deletions

View file

@ -10,7 +10,6 @@ def run_migrate(args):
command = args[1] command = args[1]
result = _operation(command,[ result = _operation(command,[
"cd service",
"export FLASK_APP=files/cli:app", "export FLASK_APP=files/cli:app",
f"python3 -m flask db {command}", f"python3 -m flask db {command}",
]) ])

View file

@ -5,7 +5,6 @@ from common import _operation
def run_test(args): def run_test(args):
result = _operation("tests",[ result = _operation("tests",[
"cd service",
"FLASK_APP=files/cli:app python3 -m flask db upgrade", "FLASK_APP=files/cli:app python3 -m flask db upgrade",
"python3 -m pytest -s", "python3 -m pytest -s",
]) ])