SUSE / salt-shaptools

Salt execution module and state to manage SAP Applications (HANA only at the moment) and SUSE Linux Enterprise High Availability components
Apache License 2.0
14 stars 11 forks source link

Hotfix/improve extract pydbapi #73

Closed arbulu89 closed 3 years ago

arbulu89 commented 3 years ago

Implement the improvement of extract_dbapi to check recursively in subfolders. This is needed in order to find the PYDBAPI.TGZ file in a SAP HANA client folder, if this is extracted from a SAR file.

This folder is extracted putting the HANA client in IMDB_CLIENT20_004_182-80002082/SAP_HANA_CLIENT kind of folder, so if we check directly in the 1st one, the file is not there, so we need to check in the child subfolder.

Besides that, many imported packages for Unit tests have been removed, as they are not shipped anymore in Salt 3000 version (NO_MOCK and NO_MOCK_REASON)