This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dongxiaoyan-tsg-autotest/04-CustomLibrary/Custometest/log_contrast.py

9 lines
323 B
Python
Raw Normal View History

#/user/bin/python
#-*-coding:utf-8-*-
def log_contrast(logs,client_ip,policy_id,parmkey,parmvalue):
if (str(client_ip) in str(logs))and (str(policy_id) in str(logs)) and (str(parmkey) in str(logs)) and (str(parmvalue) in str(logs)):
print(logs)
return "true"
else:
return "false"