Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
canihavesomecoffee authored Dec 20, 2023
1 parent f9452e7 commit 0fb144e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod_test/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,11 @@ def get_customized_regressiontests(self) -> Any:
rtype: list
"""
customized_test = self.customized_tests

if len(customized_test) != 0:
regression_ids = [r.regression_id for r in customized_test]
else:
regression_ids = [r.id for r in RegressionTest.query.all()]
regression_ids = [r.id for r in RegressionTest.query.all()]

return regression_ids

Expand Down

0 comments on commit 0fb144e

Please sign in to comment.