I have a method that does not return anything , but it makes a call to another method that returns a value like
def apply():
#set some defaults
try:
script = _getScript()
except Exception, ex:
raise Exception(ex)
node = [xyz for xyz in myLst] # myLst is a global list object hat has values based on different scnarios
so how do i test above method using unittest or mox ? any help would be extremely appreciated..