Files
django-stubs/django/test/selenium.pyi
Maxim Kurnikov a9f215bf64 initial commit
2018-07-29 18:12:23 +03:00

20 lines
567 B
Python

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]: ...