src.util.tests.test_filesystem module

class src.util.tests.test_filesystem.TestCheckDirs(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_check_dirs_found(mock_makedirs, mock_isdir)[source]
test_check_dirs_not_found(mock_makedirs, mock_isdir)[source]
test_check_dirs_not_found_created(mock_makedirs, mock_isdir)[source]
class src.util.tests.test_filesystem.TestBumpVersion(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_bump_version_noexist(mock_exists)[source]
test_bump_version_getver(mock_exists)[source]
test_bump_version_delver(mock_exists)[source]
test_bump_version_setver(mock_exists)[source]
class src.util.tests.test_filesystem.TestJSONC(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_parse_json_basic()[source]
test_parse_json_comments()[source]
test_parse_json_syntax_lineno()[source]
test_strip_comments_quote_escape()[source]
class src.util.tests.test_filesystem.TestDoubleBraceTemplate(methodName='runTest')[source]

Bases: unittest.case.TestCase

sub(template_text, template_dict={})[source]
test_escaped_brace_1()[source]
test_escaped_brace_2()[source]
test_replace_1()[source]
test_replace_2()[source]
test_replace_3()[source]
test_replace_4()[source]
test_ignore_1()[source]
test_ignore_2()[source]
test_ignore_3()[source]
test_nomatch_1()[source]
test_nomatch_2()[source]
test_nomatch_3()[source]