|
9 | 9 | # |
10 | 10 | # ***************************************************************************** |
11 | 11 |
|
| 12 | +from utils import AiServiceInstallTestConfig, run_aiservice_install_test |
12 | 13 | import sys |
13 | 14 | import os |
14 | 15 | import pytest |
|
17 | 18 | # Add test directory to path for utils import |
18 | 19 | sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../..')) |
19 | 20 |
|
20 | | -from utils import AiServiceInstallTestConfig, run_aiservice_install_test |
21 | | - |
22 | 21 |
|
23 | 22 | def test_aiservice_install_master_no_dev_mode(tmpdir): |
24 | 23 | """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): |
132 | 131 | '.*Proceed with this cluster?.*': lambda msg: 'y', |
133 | 132 | # 2. Install flavour (advanced options) |
134 | 133 | '.*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', |
136 | 136 | '.*Custom channel for AI Service.*': lambda msg: '9.1.x-dev', |
137 | 137 | # 4. Storage classes |
138 | 138 | ".*Use the auto-detected storage classes.*": lambda msg: 'y', |
@@ -229,7 +229,7 @@ def test_aiservice_install_master_dev_mode_non_interactive(tmpdir): |
229 | 229 | "--contact-lastname", "Test", |
230 | 230 | "--dro-namespace", "redhat-marketplace", |
231 | 231 | "--mongodb-namespace", "mongoce", |
232 | | - "--install-minio", "true", |
| 232 | + "--install-minio", |
233 | 233 | "--minio-root-user", "miniouser", |
234 | 234 | "--minio-root-password", "miniopass", |
235 | 235 | "--tenant-entitlement-type", "standard", |
|
0 commit comments