Re:Myths of Enterprise Python
by Retra on Tuesday March 24, 2015 @11:09AM
(#9257040)
Yeah, you should, but you don't have to check trivial things like "is this a list?"
[ Parent
| on HN ]
Well, I wouldn't write a unit test for that - I would write a unit test for the high level observable behavior and if I get it wrong that something is a list then it'll break and my unit test will fail.