mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
initial commit
This commit is contained in:
6
tests/context.py
Normal file
6
tests/context.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
||||
|
||||
import sample
|
||||
|
||||
10
tests/test_one.py
Normal file
10
tests/test_one.py
Normal file
@@ -0,0 +1,10 @@
|
||||
#from context import bonob
|
||||
|
||||
|
||||
# content of test_sample.py
|
||||
def f(x):
|
||||
return x + 1
|
||||
|
||||
def test_answer():
|
||||
assert f(4) == 5
|
||||
|
||||
Reference in New Issue
Block a user