X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/wradmin.git/blobdiff_plain/b9141e70a1afef404aa27cc46e06fa291f72e643..ddf466db72db6a3c0c13bdc9cb4a4d72934fcb21:/tests/test_wradmin.py?ds=sidebyside diff --git a/tests/test_wradmin.py b/tests/test_wradmin.py index 3ae1861..eb8a9cc 100644 --- a/tests/test_wradmin.py +++ b/tests/test_wradmin.py @@ -1,12 +1,6 @@ -"""How to test wradmin: - -WRADMIN_SETTINGS=../wradmin/test.cfg python3 -m unittest tests.test_wradmin -""" import unittest -import xml.etree.ElementTree as et -import sqlalchemy -from sqlalchemy.engine.url import URL, make_url import bs4 # beautiful soup +import wradmin.model import wradmin @@ -20,49 +14,179 @@ class TestNoDbWradmin(WradminTestBase): def test_root(self): result = self.app.get('/') self.assertEqual(result.status_code, 200) - self.assertTrue(result.data.startswith(b'