瀏覽代碼

chore: replace httpx with httpx2, register live mark in pytest.ini

Lukas Goldschmidt 1 月之前
父節點
當前提交
627a236b3b
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      pytest.ini
  2. 2 0
      requirements.txt

+ 2 - 0
pytest.ini

@@ -1,2 +1,4 @@
 [pytest]
 asyncio_mode = auto
+markers =
+    live: marks tests as live/integration tests (deselect with '-m "not live"')

+ 2 - 0
requirements.txt

@@ -12,3 +12,5 @@ requests>=2.31
 
 # Testing
 pytest>=8.4
+pytest-asyncio>=1.0
+httpx2>=2.0