mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-05-02 17:12:59 +00:00
Fix lint.
This commit is contained in:
parent
0377f858c2
commit
0d92aecbf3
@ -8,9 +8,9 @@ reused across tests, so each test should be careful to generate unique storage
|
|||||||
indexes.
|
indexes.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from future.utils import bchr
|
from __future__ import annotations
|
||||||
|
|
||||||
from typing import Set
|
from future.utils import bchr
|
||||||
|
|
||||||
from random import Random
|
from random import Random
|
||||||
from unittest import SkipTest
|
from unittest import SkipTest
|
||||||
@ -1041,7 +1041,7 @@ class IStorageServerMutableAPIsTestsMixin(object):
|
|||||||
class _SharedMixin(SystemTestMixin):
|
class _SharedMixin(SystemTestMixin):
|
||||||
"""Base class for Foolscap and HTTP mixins."""
|
"""Base class for Foolscap and HTTP mixins."""
|
||||||
|
|
||||||
SKIP_TESTS = set() # type: Set[str]
|
SKIP_TESTS : set[str] = set()
|
||||||
|
|
||||||
def _get_istorage_server(self):
|
def _get_istorage_server(self):
|
||||||
native_server = next(iter(self.clients[0].storage_broker.get_known_servers()))
|
native_server = next(iter(self.clients[0].storage_broker.get_known_servers()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user