diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-05-23 23:45:12 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-05-23 23:45:12 -0400 |
commit | f53768612b1e2268697b5444e502032ef9f3fb3c (patch) | |
tree | 4ed49b73e6bd3c2f8fceffa9643973033f87af95 /extension/examples/tests/test_sum.py | |
download | sncontinue-f53768612b1e2268697b5444e502032ef9f3fb3c.tar.gz sncontinue-f53768612b1e2268697b5444e502032ef9f3fb3c.tar.bz2 sncontinue-f53768612b1e2268697b5444e502032ef9f3fb3c.zip |
copying from old repo
Diffstat (limited to 'extension/examples/tests/test_sum.py')
-rw-r--r-- | extension/examples/tests/test_sum.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extension/examples/tests/test_sum.py b/extension/examples/tests/test_sum.py new file mode 100644 index 00000000..caef7c07 --- /dev/null +++ b/extension/examples/tests/test_sum.py @@ -0,0 +1,12 @@ +import pytest +# print(__name__) +# from ..sum import sum as real_sum + +def sum(a, b): + return a + b + +def test_sum(): + assert sum(1, 2) == 3 + +def test_abc(): + assert True
\ No newline at end of file |