mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-11 06:21:58 +08:00
initial commit
This commit is contained in:
20
django/test/selenium.pyi
Normal file
20
django/test/selenium.pyi
Normal file
@@ -0,0 +1,20 @@
|
||||
from django.contrib.admin.tests import AdminSeleniumTestCase
|
||||
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
|
||||
from typing import (
|
||||
Callable,
|
||||
Dict,
|
||||
List,
|
||||
Tuple,
|
||||
Type,
|
||||
Union,
|
||||
)
|
||||
|
||||
|
||||
class SeleniumTestCaseBase:
|
||||
@staticmethod
|
||||
def __new__(
|
||||
cls: Type[SeleniumTestCaseBase],
|
||||
name: str,
|
||||
bases: Union[Tuple[Type[SeleniumTestCase], Type[StaticLiveServerTestCase]], Tuple[Type[AdminSeleniumTestCase]]],
|
||||
attrs: Dict[str, Union[str, List[str], Callable]]
|
||||
) -> Type[AdminSeleniumTestCase]: ...
|
||||
Reference in New Issue
Block a user