Skip to content

Commit 512ee13

Browse files
committed
Fix MLM 5.1 product name
1 parent 167c83a commit 512ee13

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

jenkins_pipelines/scripts/bsc_list_generator/bsc_finder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def parse_cli_args() -> argparse.Namespace:
5959
return args
6060

6161
def get_suma_product_name(product_version: str, cloud: bool) -> str:
62-
product_name: str = "SUSE Multi Linux Manager" if product_version == '5.1' else "SUSE Manager"
62+
product_name: str = "SUSE Multi-Linux Manager" if product_version == '5.1' else "SUSE Manager"
6363
return f"{product_name} {product_version}{' in Public Clouds' if cloud else ''}"
6464

6565
def get_suma_bugzilla_products(all, product_version: str, cloud: bool) -> list[str]:

jenkins_pipelines/scripts/tests/test_bsc_finder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def test_get_suma_product_name(self):
145145
result: str = get_suma_product_name("5.0", True)
146146
self.assertEqual(result, "SUSE Manager 5.0 in Public Clouds")
147147
result: str = get_suma_product_name("5.1", True)
148-
self.assertEqual(result, "SUSE Multi Linux Manager 5.1 in Public Clouds")
148+
self.assertEqual(result, "SUSE Multi-Linux Manager 5.1 in Public Clouds")
149149

150150
def test_get_suma_bugzilla_products(self):
151151
# only version, no cloud
@@ -161,8 +161,8 @@ def test_get_suma_bugzilla_products(self):
161161
"SUSE Manager 4.3 in Public Clouds",
162162
"SUSE Manager 5.0",
163163
"SUSE Manager 5.0 in Public Clouds",
164-
"SUSE Multi Linux Manager 5.1",
165-
"SUSE Multi Linux Manager 5.1 in Public Clouds"
164+
"SUSE Multi-Linux Manager 5.1",
165+
"SUSE Multi-Linux Manager 5.1 in Public Clouds"
166166
]
167167
)
168168

0 commit comments

Comments
 (0)