예제 #1
0
 def test_good_name_file(self):
     check = open_file('verbs.txt')
     self.assertEqual(True, check)
예제 #2
0
 def test_bad_name_file5(self):
     check5 = open_file(' ')
     self.assertEqual(False, check5)
예제 #3
0
 def test_bad_name_file2(self):
     check2 = open_file('verbs.dat')
     self.assertEqual(False, check2)
예제 #4
0
 def test_bad_name_file3(self):
     check3 = open_file('123.txt')
     self.assertEqual(False, check3)
예제 #5
0
 def test_bad_name_file1(self):
     check1 = open_file('verbs.csv')
     self.assertEqual(False, check1)