Added deal contract framework and testing documentation
This commit is contained in:
9
pkgs/clan-cli/tests/test_with_deal.py
Normal file
9
pkgs/clan-cli/tests/test_with_deal.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import deal
|
||||
|
||||
from clan_cli.task_manager import get_task
|
||||
|
||||
|
||||
# type annotations below are optional
|
||||
@deal.cases(get_task)
|
||||
def test_get_task(case: deal.TestCase) -> None:
|
||||
case()
|
||||
Reference in New Issue
Block a user