Logo
Explore Help
Sign In
hjess/iLSP
1
0
Fork 0
You've already forked iLSP
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
acccd9ba20e6f3b763018de08c11ee4c67bdb62c
iLSP/tests/conftest.py

6 lines
151 B
Python
Raw Normal View History

Add unit tests, smoke test script, fix CI to debian-host + test job - tests/test_catalog.py: 5 unit tests for PypiCatalog (fetch, cache, sort prefix, completions) - tests/test_proxy.py: 5 unit tests for BicepProxy (framing, injection, list result, passthrough) - tests/conftest.py: pytest asyncio_mode=auto config - scripts/smoke_test.sh: end-to-end TCP + health smoke test script - .gitea/workflows/ci.yml: split into test + build-and-deploy jobs (test blocks deploy) - runs-on: debian-host (was ubuntu-latest = broken) - test job installs deps + runs pytest before building image - pyproject.toml: [project.optional-dependencies] dev = pytest + pytest-asyncio
2026-05-10 12:38:41 +02:00
import pytest
# Enable asyncio mode for all tests
def pytest_configure(config):
config.addinivalue_line("markers", "asyncio: mark test as async")
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 48ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API