-
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.
Signed-off-by: Achille Roussel <[email protected]>
- Loading branch information
1 parent
0918918
commit d016221
Showing
7 changed files
with
83 additions
and
32 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
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
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
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
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,29 @@ | ||
import dispatch.test | ||
|
||
from .auto_retry import auto_retry | ||
from .fanout import fanout | ||
from .getting_started import getting_started | ||
from .github_stats import github_stats | ||
|
||
|
||
@dispatch.test.function | ||
async def test_auto_retry(): | ||
assert await auto_retry() == "SUCCESS" | ||
|
||
|
||
@dispatch.test.function | ||
async def test_fanout(): | ||
contributors = await fanout() | ||
assert len(contributors) >= 15 | ||
assert "achille-roussel" in contributors | ||
|
||
|
||
@dispatch.test.function | ||
async def test_getting_started(): | ||
assert await getting_started() == "200 OK" | ||
|
||
|
||
@dispatch.test.function | ||
async def test_github_stats(): | ||
contributors = await github_stats() | ||
assert len(contributors) >= 6 |
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
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