Decorators

smarttest.decorators.no_db_testcase(func)[source]

Decorator that prevents your test touching database.

Raises:RuntimeError – if test try to do database query
smarttest.decorators.test_type(name)[source]

Function creating decorators that allows skipping tests of declared type.

Parameters:name (str) – arbitrary name of test type e.g. acceptance,unit