笔记
已若天然
这个作者很懒,什么都没留下…
展开
-
Python实现:在字符串中找出连续最长的数字串
# -- coding: utf-8 --# Python 2.7data = { '': [], 'aaaaa': ['a'], 'aabb': ['ab'], 'pwwkew': ['wke'], 'brfgdchi': ['brfgdchi'], 'abcdabcdb': ['abcd', 'bcad', 'cdab', 'dabc'],}def main(s): li = [] left = 0 right = 0原创 2022-01-20 14:48:00 · 1726 阅读 · 0 评论 -
接口自动化测试用例(asyncio)
# 自动化测试用例class TestParamRunInstances(TestBase): @retry_with_error_code(retry_num=1, always_retry=True, error_codes=['InvalidSecurityGroupId.NotFound']) async def test_param_instance_invalid(self): """ 使用合法和非法入参测试 RunInstances: Inval原创 2021-01-22 20:11:06 · 1060 阅读 · 2 评论