removed duplicate code
This commit is contained in:
parent
077b68c1e2
commit
6c98e8a2f4
|
@ -175,11 +175,6 @@ class BaseTest(unittest.TestCase):
|
|||
specs = session.query(WorkflowSpecModel).all()
|
||||
self.assertIsNotNone(specs)
|
||||
|
||||
for spec in specs:
|
||||
files = session.query(FileModel).filter_by(workflow_spec_id=spec.id).all()
|
||||
self.assertIsNotNone(files)
|
||||
self.assertGreater(len(files), 0)
|
||||
|
||||
for spec in specs:
|
||||
files = session.query(FileModel).filter_by(workflow_spec_id=spec.id).all()
|
||||
self.assertIsNotNone(files)
|
||||
|
|
Loading…
Reference in New Issue