Files
django-stubs/django/test/selenium.pyi
Maxim Kurnikov 89bb6eac75 improved version
2018-07-29 20:06:41 +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[AdminSeleniumTestCase]], Tuple[Type[SeleniumTestCase], Type[StaticLiveServerTestCase]]],
attrs: Dict[str, Union[str, List[str], Callable]]
) -> Type[AdminSeleniumTestCase]: ...