Another update for an Issue #352 and couple of fixes

This commit is contained in:
Miroslav Stampar
2013-03-13 21:57:09 +01:00
parent b35122a42c
commit 4cb378ce3e
38 changed files with 127 additions and 146 deletions

View File

@@ -736,7 +736,7 @@ def singleTimeLogMessage(message, level=logging.INFO, flag=None):
if flag is None:
flag = hash(message)
if flag not in kb.singleLogFlags:
if not conf.smokeTest and flag not in kb.singleLogFlags:
kb.singleLogFlags.add(flag)
logger.log(level, message)

View File

@@ -41,8 +41,9 @@ failedTraceBack = None
def smokeTest():
"""
This will run the basic smoke testing of a program
Runs the basic smoke testing of a program
"""
retVal = True
count, length = 0, 0
@@ -106,8 +107,9 @@ def adjustValueType(tagName, value):
def liveTest():
"""
This will run the test of a program against the live testing environment
Runs the test of a program against the live testing environment
"""
global failedItem
global failedParseOn
global failedTraceBack