Пример #1
0
 def test_conf(self):
     settings = gDIOSettings()
     self.assertEqual(settings.KEY_PREFIX, 'spam')
     self.assertEqual(settings.DB, 'ham')
Пример #2
0
 def test_conf(self):
     settings = gDIOSettings()
     self.assertEqual(settings.KEY_PREFIX, 'spam')
     self.assertEqual(settings.DB, 'ham')
Пример #3
0
 def test_default_conf(self):
     settings = gDIOSettings()
     self.assertEqual(settings.KEY_PREFIX, '')
     self.assertEqual(settings.DB, 'default')
Пример #4
0
 def test_default_conf(self):
     settings = gDIOSettings()
     self.assertEqual(settings.KEY_PREFIX, '')
     self.assertEqual(settings.DB, 'default')