-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path__init__.pyi
More file actions
21 lines (16 loc) · 646 Bytes
/
__init__.pyi
File metadata and controls
21 lines (16 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from typing import Final
from injection import Module
from injection.loaders import LoadedProfile, ProfileLoader
TEST_PROFILE_NAME: Final[str] = ...
_test_module: Final[Module] = ...
reserve_scoped_test_slot = _test_module.reserve_scoped_slot
set_test_constant = _test_module.set_constant
should_be_test_injectable = _test_module.should_be_injectable
test_constant = _test_module.constant
test_injectable = _test_module.injectable
test_scoped = _test_module.scoped
test_singleton = _test_module.singleton
def load_test_profile(loader: ProfileLoader = ...) -> LoadedProfile:
"""
Context manager for temporary use test module.
"""