[Core] Refactor default add torrent flags into a constant

This commit is contained in:
Calum Lind 2016-11-30 22:41:54 +00:00
commit b69ba02652
2 changed files with 12 additions and 6 deletions

View file

@ -53,6 +53,9 @@ class Mock(object):
else:
return Mock()
def __or__(self, __):
return Mock()
MOCK_MODULES = ['deluge.ui.gtkui.gtkui', 'deluge._libtorrent',
'libtorrent', 'psyco',