un-inception/clients/python/sync/tests
russell@unturf.com ed6c52b001 Fix --account N credential priority across all SDKs
--account N was silently ignored when UNSANDBOX_PUBLIC_KEY/SECRET_KEY
env vars were set. The credential resolution checked env vars at tier 2
before ever reaching the CSV lookup, so the explicit flag had no effect.

Correct priority order (all 8 SDKs):
  1. CLI -p/-k flags (explicit key args)
  2. --account N → direct CSV row lookup (bypasses env vars)
  3. UNSANDBOX_PUBLIC_KEY / UNSANDBOX_SECRET_KEY env vars
  4. ~/.unsandbox/accounts.csv default (row 0 or UNSANDBOX_ACCOUNT)

SDKs updated: C, Python, Go, JavaScript, Ruby, PHP, Java, Rust

Also adds:
- --account N flag to CLI parsers in all 8 SDKs (Go, PHP, Java, Rust
  previously had no flag at all; Python/JS/Ruby had the parameter but
  never wired it to the CLI)
- test_account_flag.sh integration test for each SDK verifying the
  priority behavior with real and garbage credentials
- test-integration Makefile target for the C SDK
2026-03-23 14:56:00 -04:00
..
__init__.py add canonical permacomputer preamble to all source files 2026-02-25 17:40:21 -05:00
test_account_flag.sh Fix --account N credential priority across all SDKs 2026-03-23 14:56:00 -04:00
test_caching.py add canonical permacomputer preamble to all source files 2026-02-25 17:40:21 -05:00
test_credentials.py fix: CSV credential loader skips comments correctly, isolate credential tests 2026-02-26 17:58:27 -05:00
test_functional.py add functional tests for 7 major SDKs (Python, Go, JS, Ruby, PHP, Java, Rust) 2026-02-26 22:04:21 -05:00
test_integration_mock.py add canonical permacomputer preamble to all source files 2026-02-25 17:40:21 -05:00
test_language_detection.py add canonical permacomputer preamble to all source files 2026-02-25 17:40:21 -05:00
test_new_functions.py add canonical permacomputer preamble to all source files 2026-02-25 17:40:21 -05:00
test_real_world_scenarios.py add canonical permacomputer preamble to all source files 2026-02-25 17:40:21 -05:00
test_signatures.py add canonical permacomputer preamble to all source files 2026-02-25 17:40:21 -05:00