@@ -0,0 +1,334 @@
+%22%22%22%0A:Copyright: 2006-2021 Jochen Kupperschmidt%0A:License: Revised BSD (see %60LICENSE%60 file for details)%0A%22%22%22%0A%0Afrom byceps.config import AppMode%0A%0A%0Adef test_is_admin():%0A    assert AppMode.admin.is_admin()%0A    assert not AppMode.admin.is_site()%0A%0A%0Adef test_is_site():%0A    assert not AppMode.site.is_admin()%0A    assert AppMode.site.is_site()%0A

Test `AppMode`