Add unit tests

This commit is contained in:
Stefan van der Walt
2014-04-16 15:03:19 +02:00
parent a9107bbd5c
commit bbd7817ead
+10
View File
@@ -4,6 +4,7 @@ import json
import copy
import warnings
sample = """{
"metadata": {
"name":""
@@ -176,3 +177,12 @@ def python_to_notebook(example_file, notebook_path):
with open(notebook_path, 'w') as output:
output.write(nb.json())
def test_foo():
assert 1==1
if __name__ == "__main__":
import numpy.testing as npt
npt.run_module_suite()