mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-14 15:09:23 +00:00
add cninfo announcement
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
import unittest
|
||||
from flask import url_for
|
||||
from rsshub import create_app
|
||||
|
||||
|
||||
class BaseTestCase(unittest.TestCase):
|
||||
def setUp(self):
|
||||
app = create_app('testing')
|
||||
self.context = app.test_request_context()
|
||||
self.context.push()
|
||||
self.client = app.test_client()
|
||||
self.runner = app.test_cli_runner()
|
||||
|
||||
def tearDown(self):
|
||||
self.context.pop()
|
||||
import unittest
|
||||
from flask import url_for
|
||||
from rsshub import create_app
|
||||
|
||||
|
||||
class BaseTestCase(unittest.TestCase):
|
||||
def setUp(self):
|
||||
app = create_app('testing')
|
||||
self.context = app.test_request_context()
|
||||
self.context.push()
|
||||
self.client = app.test_client()
|
||||
self.runner = app.test_cli_runner()
|
||||
|
||||
def tearDown(self):
|
||||
self.context.pop()
|
||||
|
||||
Reference in New Issue
Block a user