diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-01-30 10:53:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-30 10:53:17 +0000 |
commit | 3f189c902ea1146a497512049aa38fe9a0a91169 (patch) | |
tree | a5681bf0f6c239cb453e51a5442bc363a52bd60c /tests | |
parent | Merge pull request #4486 from xperimental/workaround-4216 (diff) | |
download | synapse-3f189c902ea1146a497512049aa38fe9a0a91169.tar.xz |
Fix flake8 (#4519)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/storage/test_background_update.py | 2 | ||||
-rw-r--r-- | tests/storage/test_end_to_end_keys.py | 3 | ||||
-rw-r--r-- | tests/storage/test_keys.py | 3 | ||||
-rw-r--r-- | tests/storage/test_state.py | 3 |
4 files changed, 1 insertions, 10 deletions
diff --git a/tests/storage/test_background_update.py b/tests/storage/test_background_update.py index 81403727c5..5568a607c7 100644 --- a/tests/storage/test_background_update.py +++ b/tests/storage/test_background_update.py @@ -11,7 +11,7 @@ class BackgroundUpdateTestCase(unittest.TestCase): def setUp(self): hs = yield setup_test_homeserver( self.addCleanup - ) # type: synapse.server.HomeServer + ) self.store = hs.get_datastore() self.clock = hs.get_clock() diff --git a/tests/storage/test_end_to_end_keys.py b/tests/storage/test_end_to_end_keys.py index b83f7336d3..11fb8c0c19 100644 --- a/tests/storage/test_end_to_end_keys.py +++ b/tests/storage/test_end_to_end_keys.py @@ -20,9 +20,6 @@ import tests.utils class EndToEndKeyStoreTestCase(tests.unittest.TestCase): - def __init__(self, *args, **kwargs): - super(EndToEndKeyStoreTestCase, self).__init__(*args, **kwargs) - self.store = None # type: synapse.storage.DataStore @defer.inlineCallbacks def setUp(self): diff --git a/tests/storage/test_keys.py b/tests/storage/test_keys.py index 47f4a8ceac..0d2dc9f325 100644 --- a/tests/storage/test_keys.py +++ b/tests/storage/test_keys.py @@ -22,9 +22,6 @@ import tests.utils class KeyStoreTestCase(tests.unittest.TestCase): - def __init__(self, *args, **kwargs): - super(KeyStoreTestCase, self).__init__(*args, **kwargs) - self.store = None # type: synapse.storage.keys.KeyStore @defer.inlineCallbacks def setUp(self): diff --git a/tests/storage/test_state.py b/tests/storage/test_state.py index a1f99134dc..99cd3e09eb 100644 --- a/tests/storage/test_state.py +++ b/tests/storage/test_state.py @@ -28,9 +28,6 @@ logger = logging.getLogger(__name__) class StateStoreTestCase(tests.unittest.TestCase): - def __init__(self, *args, **kwargs): - super(StateStoreTestCase, self).__init__(*args, **kwargs) - self.store = None # type: synapse.storage.DataStore @defer.inlineCallbacks def setUp(self): |