mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-14 07:26:44 +00:00
init project
This commit is contained in:
8
tests/test_main.py
Normal file
8
tests/test_main.py
Normal 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)
|
||||
Reference in New Issue
Block a user