added
This commit is contained in:
commit
8313c5c6b5
84 files changed
+4337
No files matched your search
@@ -0,0 +1,9 @@
|
||||
[CmdletBinding()]
|
||||
param()
|
||||
$ErrorActionPreference = "Stop"
|
||||
if ([string]::IsNullOrWhiteSpace($env:SCHEDULING_TEST_DATABASE)) { throw "Set SCHEDULING_TEST_DATABASE to an isolated test ledger." }
|
||||
$projectRoot = (Resolve-Path (Join-Path $PSScriptRoot "..")).Path
|
||||
$pythonCommand = Get-Command python -ErrorAction SilentlyContinue
|
||||
if (-not $pythonCommand) { throw "Python 3.11 or newer must be available on PATH." }
|
||||
$env:PYTHONPATH = Join-Path $projectRoot "src"
|
||||
try { & $pythonCommand.Source (Join-Path $PSScriptRoot "record_authorized_gmail_reply_test.py"); exit $LASTEXITCODE } finally { Remove-Item Env:\PYTHONPATH -ErrorAction SilentlyContinue }
|
||||
Reference in new issue
Block a user