Package qm :: Package test :: Module cmdline
[hide private]
[frames] | no frames]

Module cmdline

source code

Classes [hide private]
  QMTest
An instance of QMTest.
Functions [hide private]
 
_make_comma_separated_string(items, conjunction)
Return a string consisting of the 'items', separated by commas.
source code
 
get_qmtest()
Returns the global QMTest object.
source code
Variables [hide private]
  _the_qmtest = None
The global 'QMTest' object.
Function Details [hide private]

_make_comma_separated_string(items, conjunction)

source code 

Return a string consisting of the 'items', separated by commas.

'items' -- A list of strings giving the items in the list.

'conjunction' -- A string to use before the final item, if there is more than one.

returns -- A string consisting all of the 'items', separated by commas, and with the 'conjunction' before the final item.

get_qmtest()

source code 

Returns the global QMTest object.

returns -- The 'QMTest' object that corresponds to the currently executing thread.

At present, there is only one QMTest object per process. In the future, however, there may be more than one. Then, this function will return different values in different threads.