Added .drone.yml for poetry project

This commit is contained in:
2023-04-01 12:26:19 +03:00
commit 7b0365891a
7 changed files with 184 additions and 0 deletions
View File
+17
View File
@@ -0,0 +1,17 @@
import pytest
from poetry_template.main import sum
def test_sum():
a = 1
b = 2
s = 3
assert s == sum(a, b)
def test_sum_wrong():
a = 1
b = 2
s_wrong = 4
assert s_wrong == sum(a, b)