#NEWLINE# def test_get_config( ) : #NEWLINE# #INDENT# '\n    Opening and reading config file\n    ' #NEWLINE# conf = config . get_config ( 'tests/test-config/valid-config.yaml' ) #NEWLINE# expected_conf = { #NEWLINE# #INDENT# 'cookiecutters_dir' : '/home/example/some-path-to-templates' , #NEWLINE# 'replay_dir' : '/home/example/some-path-to-replay-files' , #NEWLINE# 'default_context' : { #NEWLINE# #INDENT# 'full_name' : 'Firstname Lastname' , #NEWLINE# 'email' : 'firstname.lastname@gmail.com' , #NEWLINE# 'github_username' : 'example' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# assert ( conf == expected_conf )