init project

This commit is contained in:
alphardex
2019-01-16 22:45:05 +08:00
commit d9f4136fa4
32 changed files with 1044 additions and 0 deletions

8
tests/test_main.py Normal file
View File

@@ -0,0 +1,8 @@
from flask import url_for
from tests.base import BaseTestCase
class MainTestCase(BaseTestCase):
def test_index(self):
response = self.client.get(url_for('main.index'))
self.assertEqual(response.status_code, 200)