<s> import os <EOL> import os . path <EOL> import fs <EOL> from . setup import * <EOL> def test_list ( ) : <EOL> files = [ os . path . join ( TEST_DIR , f ) for f in os . listdir ( TEST_DIR ) <EOL> if os . path . isfile ( os . path . join ( TEST_DIR , f ) ) ] <EOL> fs_files = list ( fs . list ( TEST_DIR ) ) <EOL> assert len ( files ) is len ( fs_files ) <EOL> assert sorted ( files ) == sorted ( fs_files ) </s>
