From: Karl O. Pinc Date: Wed, 7 Nov 2018 04:04:50 +0000 (-0600) Subject: Add integration test X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=a9a6edee459dd6eaf36ddfd5d381b5f1995b444c;p=pgwui_server Add integration test --- diff --git a/tests/test___init__.py b/tests/test___init__.py index 3c0e666..13d92a7 100644 --- a/tests/test___init__.py +++ b/tests/test___init__.py @@ -40,6 +40,9 @@ class MockConfigurator(): pass +# Unit tests + + # pgwui_server_config() def test_pgwui_server_config(monkeypatch): @@ -58,3 +61,9 @@ def test_main(monkeypatch): result = pgwui_server_init.main({}) assert result == 'wsgi_app' + + +# Integration tests +def test_main_integrated(): + '''Does not raise errors or warnings''' + pgwui_server_init.main({})