Esempio n. 1
0
 def test_read_file_and_check_right_account_number(self):
     """
         Scan file and find wrong input character with ?
     """
     obj = FileScaner()
     filename = 'userstroy3_input.txt'
     account_numbers = obj.user_story3(filename)
     self.assert_(account_numbers[0] == '000000051')
Esempio n. 2
0
 def test_read_file_story4(self):
     """
         Scan file and find wrong input character with ?
     """
     obj = FileScaner()
     filename = 'userstroy4_input.txt'
     account_numbers = obj.user_story3(filename)
     print account_numbers
Esempio n. 3
0
 def test_read_file_and_check_wrong_characters(self):
     """
         Scan file and find wrong input character with ?
     """
     obj = FileScaner()
     filename = 'userstroy3_input.txt'
     account_numbers = obj.user_story3(filename)
     self.assert_(account_numbers[1] == '49006771? ILL')