Merge "Fixed bug of test caption in report"

This commit is contained in:
Jenkins 2015-05-13 15:22:14 +00:00 committed by Gerrit Code Review
commit fe5e8cf2f0
2 changed files with 0 additions and 2 deletions

View File

@ -196,7 +196,6 @@ class TestServer(testtools.TestCase):
test = self.plugin.tests[0] test = self.plugin.tests[0]
rv = self.app.post( rv = self.app.post(
'/v1/plugins/fake/suites/tests/%s' % test).data '/v1/plugins/fake/suites/tests/%s' % test).data
self.plugin.test.description['test'] = test
check = { check = {
u'plugin': {u'name': self.plugin.name, u'plugin': {u'name': self.plugin.name,
u'test': test, u'test': test,

View File

@ -156,7 +156,6 @@ class Tests(BaseTests):
message="Test %s not found." % test) message="Test %s not found." % test)
reports = plugin.run_test(test) reports = plugin.run_test(test)
report = [r.description for r in reports] report = [r.description for r in reports]
report[0]['test'] = test
return {"plugin": {"name": plugin.name, return {"plugin": {"name": plugin.name,
"test": test, "test": test,
"report": report}} "report": report}}