Skip to content

Commit 46a9117

Browse files
committed
[2.19] Add a mock --custom-namespace option to enable run of MR with custom ns
1 parent f728bbe commit 46a9117

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

conftest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def pytest_addoption(parser: Parser) -> None:
4444
runtime_group = parser.getgroup(name="Runtime details")
4545
upgrade_group = parser.getgroup(name="Upgrade options")
4646
must_gather_group = parser.getgroup(name="MustGather")
47+
model_registry_group = parser.getgroup(name="Model Registry options")
4748

4849
# AWS config and credentials options
4950
aws_group.addoption(
@@ -130,6 +131,13 @@ def pytest_addoption(parser: Parser) -> None:
130131
action="store_true",
131132
default=False,
132133
)
134+
# # Model Registry options
135+
model_registry_group.addoption(
136+
"--custom-namespace",
137+
default=False,
138+
action="store_true",
139+
help="Indicates if the model registry tests are to be run against custom namespace",
140+
)
133141

134142

135143
def pytest_cmdline_main(config: Any) -> None:

0 commit comments

Comments
 (0)