Exemplo n.º 1
0
def main(*wanted): 
    if "runTest" in wanted or "--t" in wanted:
        return runTests()
    return sum(consume_stdin(partial(rndrObs, wanted)))
Exemplo n.º 2
0
 def determineHandler(goodFiles):
     if goodFiles:
         return testCaseFile(goodFiles, cleanArty(switchedArgs))
     return consume_stdin(beginCatalog(**cleanArty(switchedArgs)))
Exemplo n.º 3
0
def consumeWith(mosherFunc):
    return sum(filter(None,consume_stdin(mosherFunc)),[])