Skip to content

使用源代码默认的测试用例出现如下问题。 #2

Description

@loneyao

操作系统:win7
excel:wps

Traceback (most recent call last):
File "D:\InterfaceTest-master\LiveApp.py", line 33, in
logging.basicConfig(format=log_format,filename=log_file,filemode='w',level=logging.DEBUG)
File "C:\Users\55\AppData\Local\Programs\Python\Python35\lib\logging__init__.py", line 1744, in basicConfig
h = FileHandler(filename, mode)
File "C:\Users\55\AppData\Local\Programs\Python\Python35\lib\logging__init__.py", line 1008, in init
StreamHandler.init(self, self.open())
File "C:\Users\55\AppData\Local\Programs\Python\Python35\lib\logging__init
_.py", line 1037, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: 'D:\InterfaceTest-master\log\liveappapi.log'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions