Fix empty config error message
Broken by bc819cb, which merged shortly before 8c2b6c1. Change-Id: I5b95993ee69a2082b3290aafe93643855ff7f56a
This commit is contained in:
parent
36c54b86ca
commit
2f780080cc
@ -164,6 +164,13 @@ class TaskTestCase(unittest.TestCase):
|
||||
detailed_iterations_data = rally("task detailed --iterations-data")
|
||||
self.assertNotIn("n/a", detailed_iterations_data)
|
||||
|
||||
def test_start_with_empty_config(self):
|
||||
rally = utils.Rally()
|
||||
config = utils.TaskConfig(None)
|
||||
with self.assertRaises(utils.RallyCliError) as err:
|
||||
rally("task start --task %s" % config.filename)
|
||||
self.assertIn("Input task is empty", err.exception.output)
|
||||
|
||||
def test_results(self):
|
||||
rally = utils.Rally()
|
||||
cfg = self._get_sample_task_config()
|
||||
|
Loading…
x
Reference in New Issue
Block a user