fix: refactor some more for tests + pylint
This commit is contained in:
parent
e494bdd2b9
commit
8c3948ff33
3 changed files with 36 additions and 11 deletions
|
@ -82,8 +82,8 @@ foo2,bar2
|
|||
imp.input_file_path = self.data_path
|
||||
imp.open_input_file()
|
||||
imp.close_input_file()
|
||||
self.assertFalse(hasattr(imp, "input_reader"))
|
||||
self.assertFalse(hasattr(imp, "input_file"))
|
||||
self.assertIsNone(imp.input_reader)
|
||||
self.assertIsNone(imp.input_file)
|
||||
|
||||
def test_get_source_objects(self):
|
||||
model = self.app.model
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue