Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 3
0
 def test_check_input_type(self):
     """ Find correct input type check """
     nt.assert_equals(check_input_type(['12345']), True)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 6
0
 def test_check_input_type(self):
     """ Find correct input type check """
     nt.assert_equals(check_input_type(['12345']), True)