Skip to content

Instantly share code, notes, and snippets.

View MaggieChege's full-sized avatar
🏠
Working from home

MaggieChege MaggieChege

🏠
Working from home
View GitHub Profile
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: