Make PicardTestCase the parent class of all tests

This brings the faketagger and, more importantly, settings reset to all of them.
This commit is contained in:
Wieland Hoffmann
2018-10-19 17:51:01 +02:00
parent 624ba7ff7d
commit e624aa121c
25 changed files with 92 additions and 92 deletions

View File

@@ -1,4 +1,4 @@
import unittest
from test.picardtestcase import PicardTestCase
from unittest.mock import patch
from urllib.parse import (
parse_qs,
@@ -13,9 +13,10 @@ PORT = 443
LOCAL_PORT = "8000"
class BrowserLookupTest(unittest.TestCase):
class BrowserLookupTest(PicardTestCase):
def setUp(self):
super().setUp()
self.lookup = FileLookup(None, SERVER, PORT, LOCAL_PORT)
@patch.object(webbrowser2, 'open')