Commit Graph
5 Commits
Author SHA1 Message Date
8efe47503c test: python-version integration test, ensure flask start command is generated (#376)
* fix: improve python-uv example test coverage and remove unnecessary Procfile

- Add Python version verification (3.11) to test.json
- Remove Procfile as start command is auto-detected by Flask provider
- Update main.py to print Python version for test verification
- Remove hardcoded port from main.py, rely on PORT env var

The Python provider automatically detects Flask apps with gunicorn and
generates the appropriate start command, making the Procfile redundant.

* test: add httpCheck and restore Flask development server in python-uv example

- Add httpCheck test case to verify Flask app responds to HTTP requests
- Restore Flask development server code with PORT env var support
- Keep existing expectedOutput test for version verification

This gives us comprehensive test coverage: both output verification
(version check) and HTTP functionality testing.

* refactor: remove unnecessary Flask dev server code from python-uv example

The __main__ block is not needed since railpack automatically detects
Flask apps with gunicorn and generates the start command. The httpCheck
test will verify the app works correctly with the auto-detected gunicorn
start command.

* test: snapshot update

* test: remove test that doesn't use a procfile anymore

---------

Co-authored-by: Hanzo Dev <[email protected]>
2025-11-24 06:44:36 -07:00
Michael BiancoandGitHub b0fce84f9d test: use poetry cli to run python (#257)
* test: run python via poetry to ensure the poetry install is working

* test: assert proper python bin in PATH across all .venv python examples

* doc: helpful mise backend inspection tip

* test: snapshot update
2025-09-11 09:19:44 -06:00
Jake Runzer 8ac8bcb226 add more tests 2025-02-06 11:45:03 -08:00
Jake Runzer 38a021f224 python provider with uv, pdm, and poetry working 2025-01-22 19:39:13 -05:00
Jake Runzer 73f03de56f init 2025-01-14 18:49:46 -05:00