-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from cloudblue/feature/LITE-28072-Create-Tasks…
…-functions LITE-28072: Adding placeholders functions for tasks
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
async def validate_ppr(): | ||
return True | ||
|
||
|
||
async def apply_ppr_and_delegate_to_marketplaces(): | ||
return True | ||
|
||
|
||
async def delegate_to_l2(): | ||
return True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import pytest | ||
|
||
from connect_ext_ppr.tasks_manager import ( | ||
apply_ppr_and_delegate_to_marketplaces, | ||
delegate_to_l2, | ||
validate_ppr, | ||
) | ||
|
||
|
||
@pytest.mark.asyncio | ||
async def test_apply_ppr_and_delegate_to_marketplaces(): | ||
assert await apply_ppr_and_delegate_to_marketplaces() | ||
|
||
|
||
@pytest.mark.asyncio | ||
async def test_delegate_to_l2(): | ||
assert await delegate_to_l2() | ||
|
||
|
||
@pytest.mark.asyncio | ||
async def test_validate_ppr(): | ||
assert await validate_ppr() |