This repository has been archived by the owner on Jan 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increased coverage of tasks parsing in YAML parser
- Loading branch information
1 parent
6013731
commit bb6893c
Showing
3 changed files
with
38 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from argparse import ArgumentParser | ||
from .syntax import TaskDeclaration | ||
from .contract import TaskInterface, ExecutionContext | ||
|
||
|
||
class TestTask(TaskInterface): | ||
def get_name(self) -> str: | ||
pass | ||
|
||
def get_group_name(self) -> str: | ||
pass | ||
|
||
def execute(self, context: ExecutionContext) -> bool: | ||
pass | ||
|
||
def configure_argparse(self, parser: ArgumentParser): | ||
pass | ||
|
||
|
||
def get_test_declaration() -> TaskDeclaration: | ||
return TaskDeclaration(TestTask(), {}, []) |
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