Skip to content

Commit

Permalink
Merge pull request #149 from thejta/addon-suite
Browse files Browse the repository at this point in the history
Support for addons to define additional test suites
  • Loading branch information
stewartsmith authored Jul 25, 2017
2 parents 4fb955d + 0c2d9ad commit b13d964
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions op-test
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,10 @@ suites = {
'full' : FullSuite(),
}

# Loop through the addons and load in suites defined there
for opt in OpTestConfiguration.optAddons:
suites = OpTestConfiguration.optAddons[opt].addSuites(suites)

if OpTestConfiguration.conf.args.list_suites:
print '{0:34}{1}'.format('Test Suite', 'Description')
print '{0:34}{1}'.format('----------', '-----------')
Expand Down

0 comments on commit b13d964

Please sign in to comment.