def stop_Test(input1): try: run = TestController() run.stop_Test(input1) except AttributeError: print "Run test first"