pytest 1.0 and makefile
This commit is contained in:
7
server/testing/tests/first_test.py
Normal file
7
server/testing/tests/first_test.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# test_math.py
|
||||
def add(a, b):
|
||||
return a + b
|
||||
|
||||
def test_addition():
|
||||
assert add(2, 2) == 4
|
||||
assert add(-1, 1) == 0
|
||||
Reference in New Issue
Block a user