mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-07-03 07:04:09 +00:00
13 lines
308 B
Python
13 lines
308 B
Python
![]() |
from test_sdkbase import TestSdk
|
||
|
import ragflow
|
||
|
from ragflow.ragflow import RAGFLow
|
||
|
import pytest
|
||
|
|
||
|
|
||
|
class TestCase(TestSdk):
|
||
|
def test_version(self):
|
||
|
print(ragflow.__version__)
|
||
|
|
||
|
def test_create_dataset(self):
|
||
|
assert ragflow.ragflow.RAGFLow('123', 'url').create_dataset('abc') == 'abc'
|