Skip to content

Commit fecd85c

Browse files
author
Bhautik Vala
committed
[patch] Fix flag in non-interactive command
1 parent f86593e commit fecd85c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

python/test/aiservice/install/test_dev_mode.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#
1010
# *****************************************************************************
1111

12+
from utils import AiServiceInstallTestConfig, run_aiservice_install_test
1213
import sys
1314
import os
1415
import pytest
@@ -17,8 +18,6 @@
1718
# Add test directory to path for utils import
1819
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../..'))
1920

20-
from utils import AiServiceInstallTestConfig, run_aiservice_install_test
21-
2221

2322
def test_aiservice_install_master_no_dev_mode(tmpdir):
2423
"""Test expected NoSuchCatalogError is raised when using master catalog without dev mode"""
@@ -132,7 +131,8 @@ def test_aiservice_install_master_dev_mode_existing_catalog(tmpdir):
132131
'.*Proceed with this cluster?.*': lambda msg: 'y',
133132
# 2. Install flavour (advanced options)
134133
'.*Show advanced installation options.*': lambda msg: 'n',
135-
# 3. Catalog selection (catalog already exists)
134+
# 3. Catalog selection (catalog already exists, so it shows the existing one)
135+
'.*Select catalog source.*': lambda msg: 'v9-master-amd64',
136136
'.*Custom channel for AI Service.*': lambda msg: '9.1.x-dev',
137137
# 4. Storage classes
138138
".*Use the auto-detected storage classes.*": lambda msg: 'y',
@@ -229,7 +229,7 @@ def test_aiservice_install_master_dev_mode_non_interactive(tmpdir):
229229
"--contact-lastname", "Test",
230230
"--dro-namespace", "redhat-marketplace",
231231
"--mongodb-namespace", "mongoce",
232-
"--install-minio", "true",
232+
"--install-minio",
233233
"--minio-root-user", "miniouser",
234234
"--minio-root-password", "miniopass",
235235
"--tenant-entitlement-type", "standard",

0 commit comments

Comments
 (0)