|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /lib64/python2.7/site-packages/django/core/management/commands/ |
Upload File : |
�
r�\c @ s� d d l Z d d l Z d d l Z d d l m Z m Z d d l m Z d d l m Z d d l
m Z d e f d � � YZ d S( i����N( t make_optiont OptionParser( t settings( t BaseCommand( t
get_runnert Commandc B s� e Z e j e d d d d d d e d d �e d d d d d
d e d d �e d d d
d d d d �e d d d
d d d d d d �f Z d Z d Z e Z
d � Z d � Z d � Z
d � Z d � Z RS( s --noinputt actiont store_falset destt interactivet defaultt helps: Tells Django to NOT prompt the user for input of any kind.s
--failfastt
store_truet failfastsD Tells Django to stop running the test suite after first failed test.s --testrunnert storet
testrunnersh Tells Django to use specified test runner class instead of the one specified by the TEST_RUNNER setting.s --liveservert
liveservers� Overrides the default address where the live server (used with LiveServerTestCase) is expected to run from. The default value is localhost:8081.sI Discover and run tests in the specified modules or the current directory.s[ [path.to.modulename|path.to.modulename.TestCase|path.to.modulename.TestCase.test_method]...c C s d | _ t t | � j � d S( N( t Nonet test_runnert superR t __init__( t self( ( sF /tmp/pip-install-XxeQeY/django/django/core/management/commands/test.pyR # s c C s[ d } x8 | d D], } | j | � r | t | � | _ Pq q Wt t | � j | � d S( s�
Pre-parse the command line to extract the value of the --testrunner
option. This allows a test runner to define additional command line
arguments.
s
--testrunner=i N( t
startswitht lenR R R t
run_from_argv( R t argvt optiont arg( ( sF /tmp/pip-install-XxeQeY/django/django/core/management/commands/test.pyR '