def test_list_users_no_user(self):
        # issue #10, list user hit exception while there is no user
        config['interface']['test'] = {'admin_id': 'test_admin'}
        try:
            os.remove(self.service.SUB_FILE)
        except __HOLE__:
            pass

        self.service.start()
        threading.Event().wait(.1)
        self.service.stop()

        fake_sender = CommandSubmitter('test', 'test_admin')
        self.service._list_users([], fake_sender)

        # check there is a response to user
        ok_(len(''.join(interfaces.get('test').msg_queue[fake_sender])) > 0)
dataset/ETHPy150Open KavenC/Linot/tests/services/test_twitch_notifier.py/TestService.test_list_users_no_user