Browse Source

pytest.ini: set CBS_RATE_LIMITER_STORAGE_URI for tests

This is required for builds api tests to work without a redis instance
Shiv Tyagi 5 tháng trước cách đây
mục cha
commit
57cde470e9
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      pytest.ini

+ 2 - 0
pytest.ini

@@ -1,3 +1,5 @@
 [pytest]
 testpaths = tests
 pythonpath = .
+env =
+    CBS_RATE_LIMITER_STORAGE_URI=memory://