Added template notebooks.

This commit is contained in:
Donne Martin
2015-07-02 23:01:32 -04:00
parent 340b9d6bf8
commit 129c7a889f
3 changed files with 321 additions and 0 deletions

17
templates/test_foo.py Normal file
View File

@@ -0,0 +1,17 @@
from nose.tools import assert_equal
class TestFoo(object):
def test_foo(self):
assert_equal(foo(None), None)
assert_equal(foo(0), 0)
assert_equal(foo('bar'), 'bar')
print('Success: test_foo')
def main():
test = TestFoo()
test.test_foo()
if __name__ == '__main__':
main()