예제 #1
0
 def test_check_input_type_breaks(self):
     """ Room for improvement if necessary """
     demo = ['12345', 12345]
     nt.assert_equals(check_input_type(demo), True)
예제 #2
0
 def test_unicode_check_input_type(self):
     """ Ran into a bug where unicode raises an error """
     nt.assert_equals(check_input_type([u'5490']), True)
예제 #3
0
 def test_check_input_type(self):
     """ Find correct input type check """
     nt.assert_equals(check_input_type(['12345']), True)
예제 #4
0
 def test_check_input_type_breaks(self):
     """ Room for improvement if necessary """
     demo = ['12345', 12345]
     nt.assert_equals(check_input_type(demo), True)
예제 #5
0
 def test_unicode_check_input_type(self):
     """ Ran into a bug where unicode raises an error """
     nt.assert_equals(check_input_type([u'5490']), True)
예제 #6
0
 def test_check_input_type(self):
     """ Find correct input type check """
     nt.assert_equals(check_input_type(['12345']), True)