-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy path__init__.py
More file actions
49 lines (47 loc) · 1.43 KB
/
__init__.py
File metadata and controls
49 lines (47 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
######################################################################
#
# File: b2sdk/v3/testing/__init__.py
#
# Copyright 2021 Backblaze Inc. All Rights Reserved.
#
# License https://www.backblaze.com/using_b2_code.html
#
######################################################################
from __future__ import annotations
# testing - it is not imported in v3.__init__ as it depends on pytest and other test dependencies.
from b2sdk._internal.testing.helpers.api import get_b2_auth_data, authorize, get_realm
from b2sdk._internal.testing.helpers.base import IntegrationTestBase
from b2sdk._internal.testing.helpers.buckets import (
GENERAL_BUCKET_NAME_PREFIX,
BUCKET_NAME_LENGTH,
BUCKET_CREATED_AT_MILLIS,
NODE_DESCRIPTION,
RNG,
RNG_COUNTER,
RNG_SEED,
get_bucket_name_prefix,
random_token,
)
from b2sdk._internal.testing.helpers.bucket_manager import (
ONE_HOUR_MILLIS,
BUCKET_CLEANUP_PERIOD_MILLIS,
BucketManager,
)
from b2sdk._internal.testing.fixtures.api import (
set_http_debug,
b2_auth_data,
_b2_api,
b2_api,
realm,
)
from b2sdk._internal.testing.fixtures.buckets import (
pytest_addoption,
dont_cleanup_old_buckets,
bucket_name_prefix,
general_bucket_name_prefix,
bucket_manager,
bucket,
b2_subfolder,
)
from b2sdk._internal.testing.fixtures.common import monkeysession
from b2sdk._internal.testing.fixtures.account_info import change_account_info_dir