Commit c3648df3 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

test find_by_ids

parent 598689b1
...@@ -15,6 +15,12 @@ class Level1DataTestCase(unittest.TestCase): ...@@ -15,6 +15,12 @@ class Level1DataTestCase(unittest.TestCase):
create_time = ("2021-06-01 11:12:13","2021-06-08 11:12:13")) create_time = ("2021-06-01 11:12:13","2021-06-08 11:12:13"))
print('find:', recs) print('find:', recs)
def test_find_by_ids(self):
recs = self.api.find_by_ids(
ids=[1,2,3,4]
)
print('find_by_ids:', recs)
def test_get(self): def test_get(self):
rec = self.api.get(id = 2) rec = self.api.get(id = 2)
print('get:', rec) print('get:', rec)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment