Remove some unnecessary logging from the test script.

This commit is contained in:
yackob03 2014-02-12 19:01:04 -05:00
parent b920a0cb1f
commit 5511c9c4cf

View file

@ -49,7 +49,6 @@ class TestBuildLogs(BuildLogs):
self.test_build_id = test_build_id
self.remaining_script = self._generate_script()
logger.debug('Total script size: %s', len(self.remaining_script))
print('Total script size: %s' % len(self.remaining_script))
self._logs = []
self._status = {}
@ -58,12 +57,10 @@ class TestBuildLogs(BuildLogs):
def advance_script(self, is_get_status):
(_, log, status_wrapper) = self.remaining_script.pop(0)
if log is not None:
logger.debug('Writing log line: %s', str(log))
self._logs.append(log)
if status_wrapper is not None:
(phase, status) = status_wrapper
logger.debug('New status: %s', str(status))
from data import model
build_obj = model.get_repository_build(self.namespace, self.repository,