<s> import nose <EOL> from nose . tools import raises <EOL> import dpath . util <EOL> def test_util_safe_path_list ( ) : <EOL> res = dpath . util . __safe_path__ ( [ "<STR_LIT>" , "<STR_LIT>" ] , None ) <EOL> assert ( len ( res ) == <NUM_LIT:2> ) <EOL> assert ( res [ <NUM_LIT:0> ] == "<STR_LIT>" ) <EOL> assert ( res [ <NUM_LIT:1> ] == "<STR_LIT>" ) </s>
