def test_read_bad_01(self):
     model = BDF(debug=False)
     model.active_filenames = ['fake.file']
     with self.assertRaises(IOError):
         model._open_file('fake.file')
Exemplo n.º 2
0
 def test_read_bad_01(self):
     model = BDF()
     model.active_filenames = ['fake.file']
     with self.assertRaises(IOError):
         model._open_file('fake.file')
Exemplo n.º 3
0
 def test_read_bad_01(self):
     """tests you can't read the same file twice"""
     model = BDF(log=log, debug=False)
     model.active_filenames = ['fake.file']
     with self.assertRaises(IOError):
         model._open_file('fake.file')
Exemplo n.º 4
0
 def test_read_bad_01(self):
     """tests you can't read the same file twice"""
     model = BDF(log=log, debug=False)
     model.active_filenames = ['fake.file']
     with self.assertRaises(IOError):
         model._open_file('fake.file')