Your IP : 216.73.216.196
B
�A^k � @ s� d dl Z d dlZd dlZd dlZd dlmZ dZdZdZej dkr^de
d�e
eej d��f Ze �d e e j
�jZddd�ZG d
d� de�ZG dd� de�ZdS )� N)�Document)�TestXMLBuilder�TestXMLContextzUTF-8� i z%s-%si�� z)[^\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD%s]� �c C s
t || �S )N)�_nontext_sub)�text�replacement� r
�B/opt/alt/python37/lib/python3.7/site-packages/xmlrunner/builder.py�replace_nontext! s r c @ sV e Zd ZdZdZddd�Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
dd� Zdd� ZdS )r a� A XML report file have a distinct hierarchy. The outermost element is
'testsuites', which contains one or more 'testsuite' elements. The role of
these elements is to give the proper context to 'testcase' elements.
These contexts have a few things in common: they all have some sort of
counters (i.e. how many testcases are inside that context, how many failed,
and so on), they all have a 'time' attribute indicating how long it took
for their testcases to run, etc.
The purpose of this class is to abstract the job of composing this
hierarchy while keeping track of counters and how long it took for a
context to be processed.
)�tests�errorsZfailures�skippedNc C s"