Skip to content

Commit 109a5da

Browse files
committed
Fixed typo
1 parent 257d5aa commit 109a5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pytests/pkg/upgrade/test_salt_upgrade.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def test_salt_sysv_service_files(salt_call_cli, install_salt):
151151
test_pkgs = install_salt.pkgs
152152
print(f"DGM test_salt_sysv_service_files test_pkgs, '{test_pkgs}'", flush=True)
153153
for test_pkg_name in test_pkgs:
154-
test_pkg_basename = os.path.bashname(test_pkg_name)
154+
test_pkg_basename = os.path.basename(test_pkg_name)
155155
test_pkg_basename_adj = test_pkg_basename.split("_")
156156
print(
157157
f"DGM test_salt_sysv_service_files test_pkg_basename_adj '{test_pkg_basename_adj}' from name test_pkg_basename '{test_pkg_basename}'",

0 commit comments

Comments
 (0)