def test_read_bad_01(self): model = BDF(debug=False) model.active_filenames = ['fake.file'] with self.assertRaises(IOError): model._open_file('fake.file')
def test_read_bad_01(self): model = BDF() model.active_filenames = ['fake.file'] with self.assertRaises(IOError): model._open_file('fake.file')
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')