删除历史版本, 初始化仓库

This commit is contained in:
MarkusJoe
2022-06-02 18:50:09 +08:00
commit 91c9c2ba7c
37 files changed
+1773

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/env python3
# -- coding:utf-8 --
# @Author: markushammered@gmail.com
# @Development Tool: Pycharm
# @Create Time: 2022/5/1
# @File Name: test_count.py
import requests
import unittest
class TestCount(unittest.TestCase):
def setUp(self) -> None:
self.api = 'http://127.0.0.1:5000/'
def test_index(self):
res = requests.post(self.api).text
self.assertIsNotNone(res)
def test_count(self):
res = requests.post(self.api + 'count/test-example').text
self.assertIsNotNone(res)