- 博客(4)
- 收藏
- 关注
原创 Python的多重继承问题
因为要写个测试用例,测试4层LB,7层LB,这种测试只有一个参数不一样,实在不愿意把代码复制一份,想到了先写一个测试类,在分别继承这个测试类,写俩L4,L7子类 代码如下class LbTest(): ##初始化工作 def setUp(self): print "in class %s, func %s" % (self.__class__.__name__, sys....
2018-06-07 13:41:26 519
原创 python的坑-不断更新
bool也是int的一种data=Trueprint type(data), data,isinstance(data,int),isinstance(data,bool)结果是什么?<type 'bool'> True True True2.
2018-06-06 20:23:42 215
原创 unittests 不支持python2.6的问题
C:\Python26\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2017.2.3\helpers\pycharm\_jb_unittest_runner.py" --target test_policy.test_policys.test_00_CreatePolicyTesting started at ...
2018-06-06 09:50:47 1057 2
原创 aws认证失败
总是提示错误 f1446272-3a36-4b71-ab51-e7d54f6fd69dSenderSignatureNotMatchThe Signature is not matched 查找原因; 1. 大小写 method = ‘get’ 不可以,不虚伪GET 2. 排序 canonical_querystring = ‘Action=ListServices&...
2018-06-05 20:39:24 1515
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人