cyclus / cycamore

The CYClus Additional Module REpository
Other
15 stars 40 forks source link

Cycamore test failure message is opaque #295

Open mbmcgarry opened 9 years ago

mbmcgarry commented 9 years ago

Trying to run cycamore tests without having properly updated the input files, I received the error message below. I think it is because the input xml format has been changed in the code but not the test file, but this was not clear from the error message. A more helpful error message would be great!

FAIL: Test for all inputs in sim_files. Checks if reference and current cyclus

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/mbmcgarry/git/cycamore/tests/test_regression.py", line 79, in test_regression tmp_file) File "/home/mbmcgarry/git/cycamore/tests/cyclus_tools.py", line 15, in run_cyclus check_cmd(cmd, cwd, holdsrtn) File "/home/mbmcgarry/git/cycamore/tests/tools.py", line 47, in check_cmd assert_equal(rtn, 0) AssertionError: 1 != 0 -------------------- >> begin captured stdout << ---------------------

gidden commented 9 years ago

move to 1.4

rwcarlsen commented 8 years ago

Moving to 1.5 - this is definitely a larger problem with many of the regression/integration and other nose-based tests in both Cyclus and Cycamore.