Spaces:
Sleeping
Sleeping
Create tests/test_governance.py
Browse files- tests/test_governance.py +7 -0
tests/test_governance.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
def test_faiss_disabled():
|
| 2 |
+
try:
|
| 3 |
+
from app import Phase4FAISSStub
|
| 4 |
+
Phase4FAISSStub()
|
| 5 |
+
assert False
|
| 6 |
+
except RuntimeError:
|
| 7 |
+
assert True
|