コード例 #1
0
    def test_set_autoconfig_attributes(self):
        settings = AutoConfigSettings.get(self.session)

        for method in dir(settings):
            if method.startswith('set_'):
                a = getattr(settings, method)
                a('foo')
コード例 #2
0
    def test_set_autoconfig_attributes(self):
        settings = AutoConfigSettings.get(self.session)

        for method in dir(settings):
            if method.startswith('set_'):
                a = getattr(settings, method)
                a('foo')
コード例 #3
0
 def test_get_auto_config_settings(self):
     settings = AutoConfigSettings.get(self.session)
     self.assertIsInstance(settings, AutoConfigSettings)
コード例 #4
0
 def test_get_auto_config_settings(self):
     settings = AutoConfigSettings.get(self.session)
     self.assertIsInstance(settings, AutoConfigSettings)