drop some test code

This commit is contained in:
Mike McLean 2023-06-01 18:55:21 -04:00 committed by Tomas Kopecek
parent 0458e0e445
commit 9c8a95f3aa

View file

@ -10047,15 +10047,6 @@ def _delete_event_id():
class RootExports(object):
'''Contains functions that are made available via XMLRPC'''
def TEST(self, fail=False):
scheduler.TaskScheduler().run()
if fail:
raise Exception('DEBUG')
def TEST2(self, hostID=1):
return Host(hostID).getLoadData()
# return scheduler.get_tasks_for_host(hostID)
def restartHosts(self, priority=5, options=None):
"""Spawns restartHosts task