Yelp/Testify — pull request #197 by bukzor (2013-10-21 22:39:27+00:00)
Title: assert that our doctests actually work as shown.

There are quite a few doctests in the code base already existing, but up to now we haven't assert that they work as shown. This branch adds those assertion, and in so doing adds eight tests to the test suite. A few small edits were necessary to make these "new" tests pass.

```
$ testify test -v --summary | grep DocTest
test.utils.stringdiffer_test DocTest.test_doc:highlight ... ok in 0.00s
test.utils.stringdiffer_test DocTest.test_doc:highlight_regions ... ok in 0.00s
test.utils.test_turtle DocTest.test_doc ... ok in 0.00s
test.assertions_test DocTest.test_doc:assert_exactly_one ... ok in 0.00s
test.assertions_test DocTest.test_doc:assert_raises ... ok in 0.00s
test.assertions_test DocTest.test_doc:assert_raises_such_that ... ok in 0.00s
test.assertions_test DocTest.test_doc:assert_warns ... ok in 0.00s
test.assertions_test DocTest.test_doc:assert_warns_such_that ... ok in 0.00s
```

I've also added a base class for DocMetaTestCase to simplify making doctest suites.