Skip to content
Snippets Groups Projects
test_graphql.py 355 B
Newer Older
Mark's avatar
Mark committed

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)