예제 #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'])