Exemplo n.º 1
0
 def test_is_list_of_strings_none( self ):
     self.assertFalse( scalyr_util.is_list_of_strings( None ) )
Exemplo n.º 2
0
 def test_is_list_of_strings_yes( self ):
     self.assertTrue( scalyr_util.is_list_of_strings( [ '*', 'blah', 'dah' ] ) )
Exemplo n.º 3
0
 def test_is_list_of_strings_no( self ):
     self.assertFalse( scalyr_util.is_list_of_strings( [ '*', 3, { 'blah': 'dah' } ] ) )
Exemplo n.º 4
0
 def test_is_list_of_strings_none(self):
     self.assertFalse(scalyr_util.is_list_of_strings(None))
Exemplo n.º 5
0
 def test_is_list_of_strings_no(self):
     self.assertFalse(
         scalyr_util.is_list_of_strings(["*", 3, {
             "blah": "dah"
         }]))
Exemplo n.º 6
0
 def test_is_list_of_strings_yes(self):
     self.assertTrue(scalyr_util.is_list_of_strings(["*", "blah", "dah"]))
Exemplo n.º 7
0
 def test_is_list_of_strings_no( self ):
     self.assertFalse( scalyr_util.is_list_of_strings( [ '*', 3, { 'blah': 'dah' } ] ) )
Exemplo n.º 8
0
 def test_is_list_of_strings_yes( self ):
     self.assertTrue( scalyr_util.is_list_of_strings( [ '*', 'blah', 'dah' ] ) )