Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2446688
  • 博文数量: 328
  • 博客积分: 4302
  • 博客等级: 上校
  • 技术积分: 5486
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-01 11:14
个人简介

悲剧,绝对的悲剧,悲剧中的悲剧。

文章分类

全部博文(328)

文章存档

2017年(6)

2016年(18)

2015年(28)

2014年(73)

2013年(62)

2012年(58)

2011年(55)

2010年(28)

发布时间:2017-05-31 00:00:32

Brought to you bySemaphoreLearn MoreIntroductionTesting applications has become a standard skill set required for any competent developer today. The Python community embraces testing, and even the Python standard library has goodinbuilt tools to support testing. In the larger.........【阅读全文】

阅读(1273) | 评论(0) | 转发(0)

发布时间:2017-02-22 00:29:20

Python is rich with powerful features and expressive syntax. One of my favorites is decorators. In the context of design patterns, decorators dynamically alter the functionality of a function, method or class without having to directly use subclasses. This is ideal when you need to extend the func.........【阅读全文】

阅读(1167) | 评论(0) | 转发(0)

发布时间:2017-02-21 23:08:54

You can find (and fork) the project in https://github.com/txels/ddt.DDT consists of a class decorator ddt (for your TestCase subclass) and two method decorators (for your tests that want to be multiplied):NoteOnly files ending with ”.yml” and .........【阅读全文】

阅读(1419) | 评论(0) | 转发(0)

发布时间:2016-09-21 17:11:01

I’m sure you’ve all come across merge commits when using Git,those pesky commits with a message reading something like Merge branch'master' of github.com:kernow/Project-X.We’ve all been guilty of creating git merge commits, but don’t worry there’s away to stop being a “Git Tit” and.........【阅读全文】

阅读(1102) | 评论(0) | 转发(0)

发布时间:2016-07-11 21:31:17

Requests is installedRequests is up-to-dateMake a RequestMaking a request with Requests is very simple.Begin by importing the Requests module:>>> r = requests.get('https://api.github.com/events') Now, we have a Response object .........【阅读全文】

阅读(1718) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册