#NEWLINE# def test_discover( metavdirs ) : #NEWLINE# #INDENT# path = vdir #NEWLINE# vdirs = { vdir [ len ( path ) : ] for vdir in get_all_vdirs ( path ) } #NEWLINE# assert ( vdirs == { '/cal1/public' , '/cal1/private' , '/cal2/public' , '/dir/cal3/home' , '/dir/cal3/public' , '/dir/cal3/work' } )