Merge "Fixed bug of test caption in report"
This commit is contained in:
commit
fe5e8cf2f0
@ -196,7 +196,6 @@ class TestServer(testtools.TestCase):
|
||||
test = self.plugin.tests[0]
|
||||
rv = self.app.post(
|
||||
'/v1/plugins/fake/suites/tests/%s' % test).data
|
||||
self.plugin.test.description['test'] = test
|
||||
check = {
|
||||
u'plugin': {u'name': self.plugin.name,
|
||||
u'test': test,
|
||||
|
@ -156,7 +156,6 @@ class Tests(BaseTests):
|
||||
message="Test %s not found." % test)
|
||||
reports = plugin.run_test(test)
|
||||
report = [r.description for r in reports]
|
||||
report[0]['test'] = test
|
||||
return {"plugin": {"name": plugin.name,
|
||||
"test": test,
|
||||
"report": report}}
|
||||
|
Loading…
Reference in New Issue
Block a user