On 11/03/11 16:56, Md. Golam Rashed wrote:
$ runTests.py --debug test_input_navier_stokes.py <<< directory: , test files: 1 <<< test_input_navier_stokes.py --- 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 94, in run_test conf = ProblemConf.from_file( conf_name, required, _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) ImportError: No module named test_input_navier_stokes
$ runTests.py --debug test_input_stabilized_navier_stokes.py <<< directory: , test files: 1 <<< test_input_stabilized_navier_stokes.py --- 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 94, in run_test conf = ProblemConf.from_file( conf_name, required, _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) ImportError: No module named test_input_stabilized_navier_stokes
You have to run
./runTests.py tests/test_input_navier_stokes.py --debug
i.e. provide the full path (prepend tests/ to filename).
cheers, r.