Пример #1
0
 def test_blacklisted_setter_none(self):
     config = Configuration()
     config.blacklisted = None
     self.assertEqual(config.blacklisted, [])
Пример #2
0
 def test_blacklisted_setter_empty(self):
     config = Configuration()
     config.blacklisted = ''
     self.assertEqual(config.blacklisted, [])
Пример #3
0
 def test_blacklisted_setter_list(self):
     config = Configuration()
     config.blacklisted = ['test']
     self.assertEqual(config.blacklisted, ['Test'])