摘要:
num = [1, 2, 3, 4, 5, 6, 7, 8] print(len(num)) print(range(len(num))) for index in range(len(num)): print("the {} element is {}".format(index, num[ind 阅读全文
摘要:
一、删除字符串两端的一种或多种字符 #strip()、lstrip()、rstrip()方法;(默认删除空格符) A、list.strip(字符):删除字符串两端的一种或多种字符; #例:删除字符串s两端 a 或 b 或 c 字符; s = 'abbmmmcccbbb' s1 = s.strip(' 阅读全文
摘要:
"""Configuration file parser.A configuration file consists of sections, lead by a "[section]" header,and followed by "name: value" entries, with conti 阅读全文
摘要:
https://kubernetes.io/ Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized app 阅读全文
摘要:
--gherkin-terminal-reporter enable gherkin output --gherkin-terminal-reporter-expanded expand scenario outlines into scenarios and fill in the step na 阅读全文
摘要:
LSH-E2E是主分支 SQE-809是某个暂时的分支,开发阶段可能持续一周, 每天处在暂时的分支上,且update主分支,并将主分支merge into current 其他选项的意思: Checkout 切换分支 New Branch from selected Checkout and Reb 阅读全文
摘要:
第一种:循环取出两个字段,一一进行判断,相等则做点击操作 # elements = utils.find_elements(driver, By.CSS_SELECTOR, LSHTaxonomyLocators.LOC_TAXONOMY_TABLE_ROW) # # for row in elem 阅读全文
摘要:
https://pytest-bdd.readthedocs.io/en/latest/#bdd-library-for-the-py-test-runner BDD library for the py.test runner pytest-bdd implements a subset of t 阅读全文