mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-13 22:03:04 +00:00
Move some more pieces into the subdirectory
This commit is contained in:
parent
4eec8113ee
commit
c28f10057b
@ -14,7 +14,7 @@ from attrs import evolve
|
||||
from pytest import mark
|
||||
from pytest_twisted import ensureDeferred
|
||||
|
||||
from . import vectors
|
||||
from .vectors import vectors
|
||||
from .util import CHK, SSK, reconfigure, upload, TahoeProcess
|
||||
|
||||
def digest(bs: bytes) -> bytes:
|
||||
@ -114,7 +114,7 @@ async def test_capability(reactor, request, alice, case_and_expected):
|
||||
|
||||
|
||||
@ensureDeferred
|
||||
async def test_generate(reactor, request, alice):
|
||||
async def skiptest_generate(reactor, request, alice):
|
||||
"""
|
||||
This is a helper for generating the test vectors.
|
||||
|
||||
|
12
integration/vectors/__init__.py
Normal file
12
integration/vectors/__init__.py
Normal file
@ -0,0 +1,12 @@
|
||||
from .vectors import (
|
||||
DATA_PATH,
|
||||
CURRENT_VERSION,
|
||||
MAX_SHARES,
|
||||
|
||||
Case,
|
||||
Sample,
|
||||
SeedParam,
|
||||
encode_bytes,
|
||||
|
||||
capabilities,
|
||||
)
|
@ -20,7 +20,7 @@ from .util import CHK, SSK
|
||||
DATA_PATH: FilePath = FilePath(__file__).sibling("vectors").child("test_vectors.yaml")
|
||||
|
||||
# The version of the persisted test vector data this code can interpret.
|
||||
CURRENT_VERSION: str = "2023-01-16.2"
|
||||
CURRENT_VERSION: str = "2023-01-16"
|
||||
|
||||
@frozen
|
||||
class Sample:
|
Loading…
x
Reference in New Issue
Block a user