
    Rh                     :    d dl  d dl d dlmZ  G d de      Zy)    )*)CmfActiveVerEntityc                   (   e Zd ZdZdZdZdZdZddgZdZ	d	Z
d
dg dddg dddddgdgiZ G d dej                        Z eedddgd	      Zej$                  j                  ej$                  j&                  d	dddgd	d	ddd	
      Z G d d ej*                        Z eed!d"d#d$d%d&d'd(d)d*+      Z eed,d-d.d/d01      Z eed2d3d4d51      Z eed6d*7      Z G d8 dej:                        Z eed9d:d;d<d=d>d?d@dAdBdCdD
1      Z eedEdFdGdHdI1      Z ee dJddKL      Z! eedMd	dNdOP      Z" eedQd	dNdRS      Z# G dT dUejH                        Z$ G dV dej:                        Z G dW dXejJ                        Z% ee&dYdZd[\      Z' eed]d	d^d_S      Z(y`)aCmfTestcasezI
    # https://bcrm.carbonsoft.ru/project/Document/DOC-014928#spec-b
    TestcaseprojectTCu   Тест-кейсname	cmf_owner)CmfTestcaseStepCmfTestParamsRowCmfAttachmentTui_group_fieldsu   Сведения)responsibler   significance
componentstagsfolderestimate_time)r
   fieldsu   Даты)cmf_created_atcmf_modified_atstatus_closed_atplan_start_dateplan_end_date_descrtabtext)r
   typer   c                       e Zd ZdZdgZy)CmfTestcase.parentu   Раздел
CmfProjectN)__name__
__module____qualname__captionmodels     (./modules/evatest/fields/cmf_testcase.pyparentr!   5   s     r)   r+   u    Каталог с тестамиCmfTestcaseFolder	parent_id)r&   modeloptions_list_paramsoptions_list_query_allCmfComponentu   КомпонентыCmfTextLinkMultiSelect	testcases)	leftr.   r&   r/   r0   linkablewidgetbackreffullsearch_indexc                       e Zd ZdZdZy)CmfTestcase.is_templateu   Общий шагTN)r#   r$   r%   r&   visibler(   r)   r*   is_templater:   O   s    %r)   r<   u   Важностьu   Блокирующийu   Критическийu   Важныйu   Нормальныйu   Незначительный)         r   CmfPriority0F)r&   choicesr6   defaultnullableu   Поведениеu   Позитивноеu   Негативноеu   Деструктивное)positivenegativedestructive)r&   rC   u'   Статус автоматизацииu   Ручнойu$   Автоматизированный)manual	automatedu   Тест отключен)r&   rD   c                       e Zd ZdZy)CmfTestcase.cmf_owneru)   Ответственный ревьюерN)r#   r$   r%   r&   r(   r)   r*   r   rL   r   s    =r)   u   Типu   Функциональныйu   Smoke-тестu   Регрессионныйu   Security-тестu   Usability-тестu   Performance-тестu   Приемочныйu   Compatibility-тестu   Интеграционныйu"   Исследовательский)

functionalsmoke
regressionsecurity	usabilityperformance
acceptancecompatibilityintegrationExploratoryu   СлойE2EAPIUnit)e2eapiunitu   Шагиr   )r&   r7   r.   u   ДеффектыCmfTasktest_deffect_testcases)r&   r4   r.   r7   u   Покрытиеtest_coverage_testcases)r&   rightr.   r7   c                       e Zd ZdZy)CmfTestcase.responsibleCmfPersonWidgetNr#   r$   r%   r6   r(   r)   r*   r   rb          "r)   r   c                       e Zd ZdZy)rL   rc   Nrd   r(   r)   r*   r   zCmfTestcase.cmf_owner   re   r)   c                       e Zd ZdZy)CmfTestcase.status	CmfStatusNrd   r(   r)   r*   statusrh      s    r)   rj   u   Исходная оценкаSmartWDaysWidgetr   )r&   r6   rD   u   Покрытие REQCmfReqreq_coverage_testcasesN))r#   r$   r%   __doc__ui_name	ui_modulecode_prefixverbose_namecmf_ver_head_sync_fieldsessential_child_modelsfull_searchui_formr   r+   FieldCmfRelationr   cmfr   CmfM2Mr   r<   CmfChoiceIntr   	CmfChoicebehaviorautomation_statusCmfBooldisabledr   r   layer
CmfBackrefstepsdeffectscovered_tasksr   rj   CmfIntr   covered_reqr(   r)   r*   r   r      s    GIK&L &4WK 	* #	 !/
 GD #**   ?GZ(M#F !!

&(M#' " J(44 
 "''%.
 L $..7
H 9)8^_
 W&A5QH>&00 > 8%6+-1059?
D  eV<E J@QE V%7d)57H &*<DPY68M#(44 ##&00 ##**  &*IRdnopM(>dRZd|}Kr)   r   N)cmf.include
cmf.fields#common.models.cmf_active_ver_entityr   r   r(   r)   r*   <module>r      s      BY~$ Y~r)   