NotifyGnome code cleanup + pep8 fixes; refs #36

pull/57/head
Chris Caron 2019-02-04 19:59:54 -05:00
parent aa50f1ac6f
commit b5066e90a0
3 changed files with 5 additions and 11 deletions

View File

@ -1,11 +1,5 @@
# -*- coding: utf-8 -*-
#
# Gnome Notify Wrapper
#
# Copyright (C) 2019 Chris Caron <lead2gold@gmail.com>
#
# -*- coding: utf-8 -*-
#
# Copyright (C) 2019 Chris Caron <lead2gold@gmail.com>
# All rights reserved.
#

View File

@ -67,10 +67,11 @@ __all__ = [
# Notification Services
'NotifyBoxcar', 'NotifyEmail', 'NotifyEmby', 'NotifyDiscord',
'NotifyFaast', 'NotifyGnome', 'NotifyGrowl', 'NotifyIFTTT', 'NotifyJoin',
'NotifyJSON', 'NotifyMatterMost', 'NotifyProwl', 'NotifyPushalot',
'NotifyPushBullet', 'NotifyPushjet', 'NotifyPushover', 'NotifyRocketChat',
'NotifySlack', 'NotifyStride', 'NotifyToasty', 'NotifyTwitter',
'NotifyTelegram', 'NotifyXBMC', 'NotifyXML', 'NotifyWindows',
'NotifyJSON', 'NotifyMatrix', 'NotifyMatterMost', 'NotifyProwl',
'NotifyPushalot', 'NotifyPushBullet', 'NotifyPushjet', 'NotifyPushover',
'NotifyRocketChat', 'NotifySlack', 'NotifyStride', 'NotifyToasty',
'NotifyTwitter', 'NotifyTelegram', 'NotifyXBMC', 'NotifyXML',
'NotifyWindows',
# Reference
'NotifyImageSize', 'NOTIFY_IMAGE_SIZES', 'NotifyType', 'NOTIFY_TYPES',

View File

@ -65,7 +65,6 @@ def test_gnome_plugin():
gi = types.ModuleType(gi_name)
gi.repository = types.ModuleType(gi_name + '.repository')
gi.module = types.ModuleType(gi_name + '.module')
gi.module.mock_parent = mock.Mock()
mock_pixbuf = mock.Mock()
mock_notify = mock.Mock()