mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 00:07:09 +08:00
black reformat, some fixes
This commit is contained in:
@@ -115,7 +115,10 @@ class DiscoverRunner:
|
||||
def add_arguments(cls, parser: ArgumentParser) -> None: ...
|
||||
def setup_test_environment(self, **kwargs: Any) -> None: ...
|
||||
def build_suite(
|
||||
self, test_labels: Union[List[str], Tuple[str, str]] = ..., extra_tests: Optional[List[Any]] = ..., **kwargs: Any
|
||||
self,
|
||||
test_labels: Union[List[str], Tuple[str, str]] = ...,
|
||||
extra_tests: Optional[List[Any]] = ...,
|
||||
**kwargs: Any
|
||||
) -> TestSuite: ...
|
||||
def setup_databases(self, **kwargs: Any) -> List[Tuple[BaseDatabaseWrapper, str, bool]]: ...
|
||||
def get_resultclass(self) -> Optional[Type[DebugSQLTextTestResult]]: ...
|
||||
@@ -128,7 +131,9 @@ class DiscoverRunner:
|
||||
def run_tests(self, test_labels: List[str], extra_tests: List[Any] = ..., **kwargs: Any) -> int: ...
|
||||
|
||||
def is_discoverable(label: str) -> bool: ...
|
||||
def reorder_suite(suite: TestSuite, classes: Tuple[Type[TestCase], Type[SimpleTestCase]], reverse: bool = ...) -> TestSuite: ...
|
||||
def reorder_suite(
|
||||
suite: TestSuite, classes: Tuple[Type[TestCase], Type[SimpleTestCase]], reverse: bool = ...
|
||||
) -> TestSuite: ...
|
||||
def partition_suite_by_type(
|
||||
suite: TestSuite, classes: Tuple[Type[TestCase], Type[SimpleTestCase]], bins: List[OrderedSet], reverse: bool = ...
|
||||
) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user