Exemple #1
0
 def test_unicode_is_str_type(self):
     self.assertTrue(util.is_str_type(unicode("s")))
Exemple #2
0
 def test_numeric_unicode_is_str_type(self):
     self.assertTrue(util.is_str_type(unicode("5")))
Exemple #3
0
 def test_str_is_str_type(self):
     self.assertTrue(util.is_str_type("s"))
Exemple #4
0
 def test_non_str_is_not_str_type(self):
     self.assertFalse(util.is_str_type(5))
Exemple #5
0
 def test_numeric_unicode_is_str_type(self):
     self.assertTrue(util.is_str_type(unicode('5')))
Exemple #6
0
 def test_unicode_is_str_type(self):
     self.assertTrue(util.is_str_type(unicode('s')))
Exemple #7
0
 def test_non_str_is_not_str_type(self):
     self.assertFalse(util.is_str_type(5))
Exemple #8
0
 def test_str_is_str_type(self):
     self.assertTrue(util.is_str_type('s'))
 def test_numeric_str_is_str_type(self):
     self.assertTrue(util.is_str_type('5'))