-
Aryan Noshirvani authored
- tests/test_remix.py: exercises the /remix API contract (validation, job bookkeeping, 404 for unknown jobs) with identify_audio and the actual render pipeline mocked out - deliberately not running real Demucs/Gemini in CI, that's proven manually above. - Removed test_music.py's test for the old /music/remix/batch mock stub, which no longer exists. - test_social.py used a hardcoded "valid_token_xyz" cookie that the previous commit's auth rework removed; switched it to HTTP Basic using the configured DOCS_USERNAME/DOCS_PASSWORD. - conftest.py sets safe default DOCS_USERNAME/DOCS_PASSWORD for the test run specifically, so tests don't depend on CI having real secrets configured. - .gitlab-ci.yml: install CPU-only torch before requirements.txt (otherwise pip pulls a multi-GB CUDA build for nothing), and run the test stage on pushes to dev too, not just main/merge_requests. - Adds the dev-instance systemd unit (deploy/systemd/, mirrors how stax_bot.service is tracked) for reference. Co-Authored-By:
Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BCxXmJVvDFJVHTUi4QgNzi
a67fd682
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| conftest.py | ||
| test_auth.py | ||
| test_discovery.py | ||
| test_library.py | ||
| test_music.py | ||
| test_remix.py | ||
| test_social.py |