调整lsfx-mock默认数据库配置并更新NAS部署环境
This commit is contained in:
@@ -43,3 +43,10 @@ def test_sh_dry_run_accepts_override_arguments():
|
||||
assert "Port: 2222" in result.stdout
|
||||
assert "Username: deploy-user" in result.stdout
|
||||
assert "RemoteRoot: /volume2/custom/app" in result.stdout
|
||||
|
||||
|
||||
def test_sh_script_should_render_nas_env_into_stage_package():
|
||||
script_text = SCRIPT_PATH.read_text(encoding="utf-8")
|
||||
|
||||
assert 'render_nas_env.py' in script_text
|
||||
assert '"${STAGE_ROOT}/.env"' in script_text
|
||||
|
||||
Reference in New Issue
Block a user