SfePy NTC

Previous topic

sfepy.base.resolve_deps module

Next topic

sfepy.discrete.conditions module

This Page

sfepy.base.testing module

class sfepy.base.testing.TestCommon(**kwargs)[source]
static compare_vectors(vec1, vec2, allowed_error=1e-08, label1='vec1', label2='vec2', norm=None)[source]
static eval_coor_expression(expression, coor)[source]
get_number()[source]
static report(*argc)[source]

All tests should print via this function.

run(debug=False)[source]
static xfail(test_method)[source]

Decorator that allows a test to fail.