Skip to content

Commit

Permalink
Prepare rerelease for Checkmk 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuka committed Jun 17, 2023
1 parent e46524f commit 96a0a25
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 14 deletions.
22 changes: 11 additions & 11 deletions package
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@
'download_url': 'https://github.com/jiuka/checkmk_win_adsync/releases',
'files': {
'agent_based': [
'win_adsync_scheduler.py',
'win_adsync_connector.py',
'win_adsync_scheduler.py',
'win_adsync_connector.py',
],
'agents': [
'bakery/win_adsync.py',
'windows/plugins/win_adsync.ps1',
'bakery/win_adsync.py',
'windows/plugins/win_adsync.ps1',
],
'checkman': [
'win_adsync_scheduler',
'win_adsync_connector',
'win_adsync_scheduler',
'win_adsync_connector',
],
'checks': [],
'doc': [],
'inventory': [],
'notifications': [],
'pnp-templates': [],
'web': [
'plugins/wato/check_parameters_win_adsync.py',
'plugins/wato/agent_bakery_win_adsync.py',
'plugins/wato/check_parameters_win_adsync.py',
'plugins/wato/agent_bakery_win_adsync.py',
]},
'name': 'win_adsync',
'title': u'Check for Azure AD Connect Sync Service',
'version': '2.1',
'version': '2.1.1',
'version.min_required': '2.0.0',
'version.packaged': '2.0.0',
'version.usable_until': '2.1.0'
'version.packaged': '2.2.0',
'version.usable_until': '2.3.0'
}
6 changes: 6 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# pytest.ini
[pytest]
filterwarnings =
ignore:'crypt' is deprecated:DeprecationWarning
ignore:distutils Version classes are deprecated:DeprecationWarning
ignore:The asyncore module is deprecated:DeprecationWarning
2 changes: 1 addition & 1 deletion tests/unit/agent_based/test_win_adsync_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def test_check_win_adsync_connector_tz(timezone, section, result):
if oldtimezone:
os.environ['TZ'] = oldtimezone
else:
del(os.environ['TZ'])
del os.environ['TZ']
time.tzset()

assert result in output
2 changes: 1 addition & 1 deletion tests/unit/agent_based/test_win_adsync_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def test_check_win_adsync_scheduler_tz(timezone, section, result):
if oldtimezone:
os.environ['TZ'] = oldtimezone
else:
del(os.environ['TZ'])
del os.environ['TZ']
time.tzset()

assert result in output
2 changes: 1 addition & 1 deletion web/plugins/wato/check_parameters_win_adsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
TextAscii,
Tuple,
)
from cmk.gui.plugins.wato import (
from cmk.gui.plugins.wato.utils import (
RulespecGroupCheckParametersApplications,
CheckParameterRulespecWithItem,
CheckParameterRulespecWithoutItem,
Expand Down

0 comments on commit 96a0a25

Please sign in to comment.