Example #1
0
 def test_unicode_is_str_type(self):
     self.assertTrue(util.is_str_type(unicode("s")))
Example #2
0
 def test_numeric_unicode_is_str_type(self):
     self.assertTrue(util.is_str_type(unicode("5")))
Example #3
0
 def test_str_is_str_type(self):
     self.assertTrue(util.is_str_type("s"))
Example #4
0
 def test_non_str_is_not_str_type(self):
     self.assertFalse(util.is_str_type(5))
Example #5
0
 def test_numeric_unicode_is_str_type(self):
     self.assertTrue(util.is_str_type(unicode('5')))
Example #6
0
 def test_unicode_is_str_type(self):
     self.assertTrue(util.is_str_type(unicode('s')))
Example #7
0
 def test_non_str_is_not_str_type(self):
     self.assertFalse(util.is_str_type(5))
Example #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'))