Newer
Older
import unittest
from os import environ
from app import app
class GraphQlTests(unittest.TestCase):
def setUp(self):
self.app = app.test_client()
self.app.testing = True
def tearDown(self):
pass
def test_graphql_home(self):
result = self.app.get('/graphql')
self.assertEqual(result.status_code, 400)