OpenQuizz
Une application de gestion des contenus pédagogiques
test Class Reference
Inheritance diagram for test:
Collaboration diagram for test:

Public Member Functions

def initialize_options (self)
 
def finalize_options (self)
 
def test_args (self)
 
def with_project_on_sys_path (self, func)
 
def project_on_sys_path (self, include_dists=[])
 
def run (self)
 
def run_tests (self)
 
- Public Member Functions inherited from Command
def __init__ (self, dist, **kw)
 
def ensure_string_list (self, option)
 
def reinitialize_command (self, command, reinit_subcommands=0, **kw)
 

Static Public Member Functions

def paths_on_pythonpath (paths)
 
def install_dists (dist)
 

Data Fields

 test_suite
 
 test_module
 
 test_loader
 
 test_runner
 

Static Public Attributes

 description
 
 user_options
 
- Static Public Attributes inherited from Command
 command_consumes_arguments
 

Detailed Description

Command to run unit tests after in-place build

Member Function Documentation

◆ finalize_options()

def finalize_options (   self)

◆ initialize_options()

def initialize_options (   self)

◆ install_dists()

def install_dists (   dist)
static
Install the requirements indicated by self.distribution and
return an iterable of the dists that were built.

◆ paths_on_pythonpath()

def paths_on_pythonpath (   paths)
static
Add the indicated paths to the head of the PYTHONPATH environment
variable so that subprocesses will also see the packages at
these paths.

Do this in a context that restores the value on exit.

◆ project_on_sys_path()

def project_on_sys_path (   self,
  include_dists = [] 
)

◆ run()

def run (   self)

◆ run_tests()

def run_tests (   self)

◆ test_args()

def test_args (   self)

◆ with_project_on_sys_path()

def with_project_on_sys_path (   self,
  func 
)
Backward compatibility for project_on_sys_path context.

Field Documentation

◆ description

description
static

◆ test_loader

test_loader

◆ test_module

test_module

◆ test_runner

test_runner

◆ test_suite

test_suite

◆ user_options

user_options
static

The documentation for this class was generated from the following file: