mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-30 08:04:08 +00:00
Some flake fixes
This commit is contained in:
parent
8cc4e5905d
commit
d14ba09dbb
@ -14,7 +14,9 @@ from attrs import evolve
|
||||
from pytest import mark
|
||||
from pytest_twisted import ensureDeferred
|
||||
|
||||
from .vectors import vectors
|
||||
from twisted.python.filepath import FilePath
|
||||
|
||||
from . import vectors
|
||||
from .util import CHK, SSK, reconfigure, upload, TahoeProcess
|
||||
|
||||
def digest(bs: bytes) -> bytes:
|
||||
@ -138,7 +140,7 @@ async def skiptest_generate(reactor, request, alice):
|
||||
results.append(result)
|
||||
write_results(vectors.DATA_PATH, results)
|
||||
|
||||
def write_results(path: FilePath, results: list[tuple[Case, str]]) -> None:
|
||||
def write_results(path: FilePath, results: list[tuple[vectors.Case, str]]) -> None:
|
||||
"""
|
||||
Save the given results.
|
||||
"""
|
||||
|
@ -1,3 +1,16 @@
|
||||
__all__ = [
|
||||
"DATA_PATH",
|
||||
"CURRENT_VERSION",
|
||||
"MAX_SHARES",
|
||||
|
||||
"Case",
|
||||
"Sample",
|
||||
"SeedParam",
|
||||
"encode_bytes",
|
||||
|
||||
"capabilities",
|
||||
]
|
||||
|
||||
from .vectors import (
|
||||
DATA_PATH,
|
||||
CURRENT_VERSION,
|
||||
|
@ -15,7 +15,7 @@ from base64 import b64encode, b64decode
|
||||
|
||||
from twisted.python.filepath import FilePath
|
||||
|
||||
from .util import CHK, SSK
|
||||
from ..util import CHK, SSK
|
||||
|
||||
DATA_PATH: FilePath = FilePath(__file__).sibling("vectors").child("test_vectors.yaml")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user