##// END OF EJS Templates
Added domain image for linux.org.ru, added ability to make images for third-level domains when it is an org.ru, com.ua, co.uk etc domain
Added domain image for linux.org.ru, added ability to make images for third-level domains when it is an org.ru, com.ua, co.uk etc domain

File last commit:

r821:572aaa88 default
r1724:70ff8482 default
Show More
test_abstract.py
12 lines | 491 B | text/x-python | PythonLexer
from django.test import TestCase
from boards.abstracts.settingsmanager import get_settings_manager
from boards.tests.mocks import MockRequest
class AbstractTest(TestCase):
def test_settings_manager(self):
request = MockRequest()
settings_manager = get_settings_manager(request)
settings_manager.set_setting('test_setting', 'test_value')
self.assertEqual('test_value', settings_manager.get_setting(
'test_setting'), 'Setting update failed.')