1.
$ ./runTests.py tests/test_input_navier_stokes.py --debug
<<< directory: tests, test files: 1
<<< tests\test_input_navier_stokes.py
sfepy: left over: ['verbose', '__builtins__', '_filename', '__file__', '__package__', 'TestI
nput', 'input_name', '__name__', 'output_name', '__doc__']
--- test instance creation failed
Traceback (most recent call last):
File "./runTests.py", line 225, in <module>
main()
File "./runTests.py", line 216, in main
run_tests(stats, dirname, [filename])
File "./runTests.py", line 148, in run_tests
n_fail, n_total, test_time = run_test( conf_name, options )
File "./runTests.py", line 95, in run_test
test = conf.funmod.Test.from_conf( conf, options )
File "tests\testsBasic.py", line 30, in from_conf
test_conf = ProblemConf.from_file(input_name, required, other)
File "c:\src\sfepy\sfepy\base\conf.py", line 270, in from_file
funmod = import_file( filename )
File "c:\src\sfepy\sfepy\base\base.py", line 120, in import_file
mod = __import__(name)
File "tests\../examples/navier_stokes\navier_stokes.py", line 183, in <module>
cinc = getattr(utils, cinc_name)
AttributeError: 'module' object has no attribute 'cinc_elbow2'
2.
$ ./runTests.py tests/test_input_stabilized_navier_stokes.py --debug
<<< directory: tests, test files: 1
<<< tests\test_input_stabilized_navier_stokes.py
sfepy: left over: ['verbose', '__builtins__', '_filename', '__file__', '__package__', 'TestI
nput', 'input_name', '__name__', 'output_name', '__doc__']
--- test instance creation failed
Traceback (most recent call last):
File "./runTests.py", line 225, in <module>
main()
File "./runTests.py", line 216, in main
run_tests(stats, dirname, [filename])
File "./runTests.py", line 148, in run_tests
n_fail, n_total, test_time = run_test( conf_name, options )
File "./runTests.py", line 95, in run_test
test = conf.funmod.Test.from_conf( conf, options )
File "tests\testsBasic.py", line 30, in from_conf
test_conf = ProblemConf.from_file(input_name, required, other)
File "c:\src\sfepy\sfepy\base\conf.py", line 270, in from_file
funmod = import_file( filename )
File "c:\src\sfepy\sfepy\base\base.py", line 120, in import_file
mod = __import__(name)
File "tests\../examples/navier_stokes\stabilized_navier_stokes.py", line 145, in <module>
cinc = getattr(utils, cinc_name)
AttributeError: 'module' object has no attribute 'cinc_elbow2'