def test_automation_get_config_sync_state(): get_state = activate_changes.AutomationGetConfigSyncState() response = get_state.execute([ReplicationPath("dir", "abc", "etc", [])]) assert response == ( { "etc/check_mk/multisite.mk": ( 33200, 0, None, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", ), "etc/check_mk/mkeventd.mk": ( 33200, 0, None, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", ), "etc/htpasswd": ( 33200, 0, None, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", ), }, 0, )
def test_automation_get_config_sync_state(): get_state = activate_changes.AutomationGetConfigSyncState() response = get_state.execute([ReplicationPath("dir", "abc", "etc", [])]) assert response == ( { "etc/check_mk/multisite.mk": ( 33200, 0, None, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", ), "etc/check_mk/mkeventd.mk": ( 33200, 0, None, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", ), "etc/check_mk/mkeventd.d/wato/rules.mk": ( 33200, 147, None, "b129ce86d7aa063c31b0de5062196082744813a1ab506308aae36e5919badc50", ), "etc/htpasswd": ( 33200, 0, None, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", ), "etc/omd/site.conf": ( 33200, 677, None, "d20618bd8e3d002617b76f55eeba48bb4b73b530c6bc198edf280d136efcb9bc", ), }, 0, )
def test_automation_get_config_sync_state(): get_state = activate_changes.AutomationGetConfigSyncState() response = get_state.execute([ReplicationPath("dir", "abc", "etc", [])]) assert response == ( { "etc/check_mk/multisite.mk": ( 33200, 0, None, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", ), "etc/check_mk/mkeventd.mk": ( 33200, 0, None, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", ), "etc/check_mk/mkeventd.d/wato/rules.mk": ( 33200, 147, None, "b129ce86d7aa063c31b0de5062196082744813a1ab506308aae36e5919badc50", ), "etc/htpasswd": ( 33200, 0, None, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", ), "etc/omd/site.conf": ( 33200, 683, None, "f549a7f82c6841c886b56d4290c325faa939aa74f37a4b577e46d5789d10d0f5", ), }, 0, )