mirror of https://github.com/caronc/apprise
NotifyGnome code cleanup + pep8 fixes; refs #36
parent
aa50f1ac6f
commit
b5066e90a0
|
@ -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.
|
||||
#
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue