dupeguru/qt/testapp.py

25 lines
725 B
Python

# -*- coding: utf-8 -*-
# Created By: Virgil Dupras
# Created On: 2010-10-04
# Copyright 2014 Hardcoded Software (http://www.hardcoded.net)
#
# This software is licensed under the "HS" License as described in the "LICENSE" file,
# which should be included with this package. The terms are also available at
# http://www.hardcoded.net/licenses/hs_license
from qtlib.recent import Recent
from .se.app import DupeGuru
class TestApp(DupeGuru):
# Use this for as a mock for UI testing.
def mustShowNag(self):
pass
def _setup(self):
self.prefs = self._create_preferences()
self.prefs.load()
self.recentResults = Recent(self, 'recentResults')
self._setupActions()