示例#1
0
 def test_denylisted_setter_none(self):
     config = Configuration()
     config.denylisted = None
     self.assertEqual(config.denylisted, [])
示例#2
0
 def test_denylisted_setter_empty(self):
     config = Configuration()
     config.denylisted = ''
     self.assertEqual(config.denylisted, [])
示例#3
0
 def test_denylisted_setter_list(self):
     config = Configuration()
     config.denylisted = ['test']
     self.assertEqual(config.denylisted, ['Test'])