adding context to test test case

This commit is contained in:
simojenki
2019-09-12 16:07:56 +10:00
parent 20ca70c806
commit 2fdaaf471f
2 changed files with 2 additions and 4 deletions

View File

@@ -2,5 +2,5 @@ import os
import sys import sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
import sample import bonob

View File

@@ -1,7 +1,5 @@
#from context import bonob from context import bonob
# content of test_sample.py
def f(x): def f(x):
return x + 1 return x + 1