how to test a Python class that requires command line argument?

前端 未结 0 1438
谎友^
谎友^ 2021-02-02 04:48

I have a python class that requires a command line argument:

class SomeClass:
    
    request = sys.argv[1] + ".json"
    
    def __init__(self_:
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题