Last active
May 5, 2016 07:57
-
-
Save mattmcd/47df57a0a502e820bf96c7bb8b551fbd to your computer and use it in GitHub Desktop.
Test framework boilerplate in Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Test framework | |
from unittest import TestCase | |
from nose.tools import raises | |
# Objects under test | |
from foo import bar | |
class TestBar(TestCase): | |
def test_cool_bar_thing1(self): | |
self.assert(1==1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment