<s> import sys <EOL> if sys . version_info < ( <NUM_LIT:2> , <NUM_LIT:7> ) : <EOL> import unittest2 as unittest <EOL> else : <EOL> import unittest <EOL> import os <EOL> import glob <EOL> from beaver . config import BeaverConfig <EOL> class ConfigTests ( unittest . TestCase ) : <EOL> def setUp ( self ) : <EOL> self . config = lambda : None <EOL> self . config . config = '<STR_LIT>' <EOL> self . config . mode = '<STR_LIT>' <EOL> self . beaver_config = BeaverConfig ( self . config ) <EOL> def test_globs ( self ) : <EOL> files = [ os . path . realpath ( x ) for x in glob . glob ( '<STR_LIT>' ) ] <EOL> for file in self . beaver_config . getfilepaths ( ) : <EOL> self . assertTrue ( file in files ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> unittest . main ( ) </s>
