#NEWLINE# def test_load_environment( self ) : #NEWLINE# #INDENT# environment = self . loader ( "\n        url: /foo\n        directory: something\n        versions: 'timestamp'\n        auto_build: true\n        url_expire: true\n        config:\n            compass_bin: /opt/compass\n\n        bundles:\n            test:\n                output: foo\n        " ) . load_environment ( ) #NEWLINE# assert ( environment . url == '/foo' ) #NEWLINE# assert ( environment . url_expire == True ) #NEWLINE# assert ( environment . auto_build == True ) #NEWLINE# assert ( environment . config [ 'versions' ] == 'timestamp' ) #NEWLINE# assert ( environment . config [ 'COMPASS_BIN' ] == '/opt/compass' ) #NEWLINE# assert ( environment . config [ 'directory' ] == 'something' ) #NEWLINE# assert ( len ( environment ) == 1 )