Skip to content
Snippets Groups Projects
Commit b62ee8a3 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: added comments

parent a7fda873
No related branches found
No related tags found
No related merge requests found
......@@ -354,6 +354,9 @@ def test_consistency_file_was_modified():
assert_equal(c.messages["Info", 0][0], "File system is consistent.")
# run consistency check with modified warning)
# TODO fix
# This smells badly. The argument is meant to transport the location
# that is checked. Understanding of the code is difficult.
c = runCheck(None, "-c FILE_WAS_MODIFIED")
assert_is_not_none(c.messages["Error", 0])
assert_equal(
......@@ -412,6 +415,9 @@ def test_consistency_file_does_not_exist():
assert_equal(c.messages["Info", 0][0],
"File system below debug/ is consistent.")
# TODO fix
# This smells badly. The argument is meant to transport the location
# that is checked. Understanding of the code is difficult.
c = runCheck(None, "-c FILE_DOES_NOT_EXIST")
assert_is_not_none(c.messages["Error", 0])
assert_equal(
......@@ -452,6 +458,9 @@ def test_consistency_unknown_file():
assert_is_not_none(c.messages["Info", 0])
assert_equal(c.messages["Info", 0][0], "File system is consistent.")
# TODO fix
# This smells badly. The argument is meant to transport the location
# that is checked. Understanding of the code is difficult.
c = runCheck(None, "-c UNKNOWN_FILE")
assert_is_not_none(c.messages["Warning", 0])
assert_equal(c.messages["Warning", 0][0], 'debug/: Unknown file.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment