This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
import pytest | |
from app import app | |
class CommentTestCase(unittest.TestCase): | |
def setUp(self): | |
self.app=app("testing") | |
self.client=self.app.test_client() | |
self.context=self.app.app_context() | |
with self.context: |