Skip to content

Commit d55cd96

Browse files
dmurphy18twangboy
authored andcommitted
Fixed typo
1 parent da78d1e commit d55cd96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pytests/pkg/upgrade/test_salt_upgrade.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def test_salt_sysv_service_files(salt_call_cli, install_salt):
157157
test_pkgs = install_salt.pkgs
158158
print(f"DGM test_salt_sysv_service_files test_pkgs, '{test_pkgs}'", flush=True)
159159
for test_pkg_name in test_pkgs:
160-
test_pkg_basename = os.path.bashname(test_pkg_name)
160+
test_pkg_basename = os.path.basename(test_pkg_name)
161161
test_pkg_basename_adj = test_pkg_basename.split("_")
162162
print(
163163
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)