projects
/
pgwui_server
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4136744
)
Add integration test
author
Karl O. Pinc
<kop@meme.com>
Wed, 7 Nov 2018 04:04:50 +0000
(22:04 -0600)
committer
Karl O. Pinc
<kop@meme.com>
Fri, 9 Nov 2018 03:30:25 +0000
(21:30 -0600)
tests/test___init__.py
patch
|
blob
|
history
diff --git
a/tests/test___init__.py
b/tests/test___init__.py
index 3c0e6668254584d2e5c62ec61ea14a6220a57ad2..13d92a7713a71ccab3e922ec1014ccba14271b45 100644
(file)
--- 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({})