Honor named tests when running integration suites

This commit is contained in:
Daniel A. Wozniak 2018-03-15 13:16:43 -07:00
parent 0a68c22332
commit 3b6901e19d

View File

@ -694,6 +694,7 @@ class SaltTestsuiteParser(SaltCoverageTestingParser):
continue
results = self.run_suite('', name, suffix='test_*.py', load_from_name=True)
status.append(results)
return status
for suite in TEST_SUITES:
if suite != 'unit' and getattr(self.options, suite):
status.append(self.run_integration_suite(**TEST_SUITES[suite]))