def test_missing_with_partial_context(self): dir = '/bogus/path/does/not/exist' context = config_utils.PartialConfigContext('path', 'MASTER') path = config_parse.valid_output_stream_dir(dir, context) assert_equal(path, dir)
def test_valid_identity_files_missing_with_partial_context(self): path = '/bogus/file/does/not/exist' context = config_utils.PartialConfigContext('path', 'MASTER') file_path = config_parse.valid_identity_file(path, context) assert_equal(path, file_path)