2024-08-05 21:49:18 -05:00
|
|
|
# -*- coding: utf-8; -*-
|
|
|
|
|
|
|
|
from tests.views.utils import WebTestCase
|
|
|
|
|
|
|
|
from wuttaweb.views import settings
|
|
|
|
|
|
|
|
|
|
|
|
class TestAppInfoView(WebTestCase):
|
|
|
|
|
|
|
|
def test_index(self):
|
2024-08-06 19:59:30 -05:00
|
|
|
# sanity/coverage check
|
2024-08-05 21:49:18 -05:00
|
|
|
view = settings.AppInfoView(self.request)
|
|
|
|
response = view.index()
|
2024-08-06 18:52:54 -05:00
|
|
|
|
|
|
|
def test_configure_get_simple_settings(self):
|
2024-08-06 19:59:30 -05:00
|
|
|
# sanity/coverage check
|
2024-08-06 18:52:54 -05:00
|
|
|
view = settings.AppInfoView(self.request)
|
|
|
|
simple = view.configure_get_simple_settings()
|
2024-08-06 19:59:30 -05:00
|
|
|
|
|
|
|
def test_configure_get_context(self):
|
|
|
|
# sanity/coverage check
|
|
|
|
view = settings.AppInfoView(self.request)
|
|
|
|
context = view.configure_get_context()
|