Spaces:
Sleeping
Sleeping
Upload 3 files
Browse files- tests/__init__.py +0 -0
- tests/test_core.py +5 -0
tests/__init__.py
ADDED
|
File without changes
|
tests/test_core.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from core.search import search_docs
|
| 2 |
+
|
| 3 |
+
def test_search_returns_list():
|
| 4 |
+
res = search_docs("test")
|
| 5 |
+
assert isinstance(res, list)
|