initial commit

This commit is contained in:
Иван
2020-09-19 09:27:02 +03:00
commit a4acfadb65
44 changed files with 2783 additions and 0 deletions

16
api/tests.py Normal file
View File

@@ -0,0 +1,16 @@
#!flask/bin/python
import unittest
import os
from app import app
class BasicTestCase(unittest.TestCase):
def setUp(self):
self.app = app.test_client()
def test_main_page(self):
response = self.app.get('/api/v1.0/manual', content_type='html/text')
self.assertEqual(response.status_code, 200)
if __name__ == '__main__':
unittest.main()