first commit

This commit is contained in:
Ayxan
2022-05-23 00:16:32 +04:00
commit d660f2a4ca
24786 changed files with 4428337 additions and 0 deletions

View File

@ -0,0 +1,24 @@
"""
Module with tests for the serve post-processor
"""
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
import pytest
from ...tests.base import TestsBase
class TestServe(TestsBase):
"""Contains test functions for serve.py"""
def test_constructor(self):
"""Can a ServePostProcessor be constructed?"""
pytest.importorskip("tornado")
try:
from ..serve import ServePostProcessor
except ImportError:
print("Something weird is happening.\nTornado is sometimes present, sometimes not.")
raise
ServePostProcessor()