@@ -0,0 +1,1112 @@
+import os%0A%0Afrom twisted.trial import unittest%0A%0Afrom lbrynet import conf%0A%0A%0Aclass SettingsTest(unittest.TestCase):%0A    def setUp(self):%0A        os.environ%5B'LBRY_TEST'%5D = 'test_string'%0A%0A    def tearDown(self):%0A        del os.environ%5B'LBRY_TEST'%5D%0A%0A    def test_envvar_is_read(self):%0A        env = conf.Env(test=(str, ''))%0A        settings = conf.AdjustableSettings(env)%0A        self.assertEqual('test_string', settings.test)%0A%0A    def test_setting_can_be_overriden(self):%0A        env = conf.Env(test=(str, ''))%0A        settings = conf.AdjustableSettings(env)%0A        settings.test = 'my_override'%0A        self.assertEqual('my_override', settings.test)%0A%0A    def test_setting_can_be_updated(self):%0A        env = conf.Env(test=(str, ''))%0A        settings = conf.AdjustableSettings(env)%0A        settings.update(%7B'test': 'my_update'%7D)%0A        self.assertEqual('my_update', settings.test)%0A%0A    def test_setting_is_in_dict(self):%0A        env = conf.Env(test=(str, ''))%0A        settings = conf.AdjustableSettings(env)%0A        setting_dict = settings.get_dict()%0A        self.assertEqual(%7B'test': 'test_string'%7D, setting_dict)%0A

add tests for settings change