test Package

test Package

tests_runner Module

class stoqlib.test.tests_runner.ColorStream(stream)[source]

Bases: object

write(string)[source]
writeln(string='')[source]
class stoqlib.test.tests_runner.YANC[source]

Bases: nose.plugins.base.Plugin

Yet another nose colorer

name = 'yanc'
previous_path = None
previous_klass = None
options(parser, env)[source]
configure(options, conf)[source]
startContext(context)[source]
stopContext(context)[source]
describeTest(test)[source]
begin()[source]
finalize(result)[source]
class stoqlib.test.tests_runner.Stoq[source]

Bases: nose.plugins.base.Plugin

Stoq plugin for nose tests

This plugin is reponsible for setting up the environment so Stoq and it’s plugins can be tested right.

name = 'stoq'
begin()[source]
stoqlib.test.tests_runner.main(args, extra_plugins=None)[source]