File manager - Edit - /usr/local/CyberPanel/lib/python3.10/site-packages/django/test/__pycache__/selenium.cpython-310.pyc
Back
o �h � @ s� d dl Z d dlZd dlmZ d dlmZmZ d dlmZ d dl m Z d dlmZ G dd� de e��Zed �G d d� deed��ZdS ) � N)�contextmanager)�LiveServerTestCase�tag)� classproperty�� import_string)�capfirstc sd e Zd Zg ZdZdZdZdZ� fdd�Ze dd� �Z e dd� �Ze d d � �Zdd� Z d d� Z� ZS )�SeleniumTestCaseBaseNFc s� t � �| |||�}|jstdd� |�� D ��s|S |jrb|jd }||_|js*|jnd}||_| j|_t j |j }|jdd� D ]}| �| dt|�|f |f||| j|jd��} t || j| � q@|S t�d �|�S ) z� Dynamically create new classes and add them to the test module when multiple browsers specs are provided (e.g. --selenium=firefox,chrome). c s s&