mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 06:53:54 +00:00
Add unit tests for CLI to increase code coverage + fix bug
When running `llama stack run`, using `config` instead of `--config` causes an error. This is now fixed and tested with unit tests. Unit test coverage has been added to the basic CLI argparsing. Signed-off-by: Courtney Pacheco <6019922+courtneypacheco@users.noreply.github.com>
This commit is contained in:
parent
ff853ccc38
commit
6beb80f2ac
3 changed files with 706 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ class StackRun(Subcommand):
|
|||
|
||||
def _add_arguments(self):
|
||||
self.parser.add_argument(
|
||||
"config",
|
||||
"--config",
|
||||
type=str,
|
||||
help="Path to config file to use for the run",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue