Open andy-maier opened 1 month ago
The deprecated warning code is already in the mock scripts init function. However we should extend the documentation of the fact that we have deprecated this functionality.
Also, since we will continue to support old-style scripts we will need at least some tests to remain with the old-style.
Changes required are mostly documentation and some clarification in the test mock scripts that the users may use as examples.
pywbemtools 0.8.0 (released in 2020) introduced support for "new-style mock scripts". The support required running on Python>=3.6.
Nowadays pywbemtools requires Python>=3.8, so this ticket is to deprecate the support for old-style mock scripts. They would still be supported, but pywbemtools would issue some warning to the user indicating that support for old-style mock scripts is deprecated and will be removed in a future version.