mirror of
https://github.com/Cairo-Dock/cairo-dock-core.git
synced 2026-02-13 18:52:06 +02:00
17 lines
419 B
Python
17 lines
419 B
Python
from Test import Test, key, set_param
|
|
from CairoDock import CairoDock
|
|
|
|
# Test Modules
|
|
class TestModules(Test):
|
|
def __init__(self, dock):
|
|
Test.__init__(self, "Test modules", dock)
|
|
|
|
def run(self):
|
|
instances = self.d.GetProperties('type=Module-Instance')
|
|
|
|
for mi in instances:
|
|
print (" Reload %s (%s)..." % (mi['name'], mi['config-file']))
|
|
self.d.Reload('config-file='+mi['config-file'])
|
|
|
|
self.end()
|