loop.run()

@dbus.service.method('test.helloservice')
def hello(self):
    return 'Hello World!'


class BaseTestCase(unittest.TestCase):

    def setUp(self):
        pass
How to write a functional test for a DBUS service written in Python?