about summary refs log tree commit diff
path: root/test/python/server_test_case.py
diff options
context:
space:
mode:
authorPjotr Prins <pjotr.public01@thebird.nl>2026-10-01 15:12:06 +0000
committerPjotr <wrk@bosa.lan>2026-10-01 15:12:18 +0000
commit457a463286c2feb1e6d90460acb65927177fcc09 (patch)
tree1395d40eaad15f9775b603dce1eee1ef4d6c06f0 /test/python/server_test_case.py
parentb6374cf8d80c161cfed761d4c97eff320f311539 (diff)
downloadgenenetwork4-457a463286c2feb1e6d90460acb65927177fcc09.tar.gz
Add Python REST API test, run it from guix.scm.
* src/main.rs (main): Read GENENETWORK4_PORT environment variable
for the listen port, default to 3000.
* test/python/test_hello_world.py: New file.
* guix.scm: Add (gnu packages python) to use-modules.
(genenetwork4-git)[native-inputs]: Add python.
(genenetwork4-git)[arguments]<#:phases>: Add 'python-rest-test
phase after 'install, running test/python/test_hello_world.py
against the installed binary on port 3737.
Diffstat (limited to 'test/python/server_test_case.py')
0 files changed, 0 insertions, 0 deletions