How to get past "Press any key to continue..." in Python unittest? -
how can write unittest press key @ right time can test check method below , doesn't wait forever key press.
class myproject(): def __init__(self): self.info = "" def check(self): # goes online fetch data , saves self.info input("press key continue...") def main_function(self): # method main task
Comments
Post a Comment