#NEWLINE# def test_version_control( ) : #NEWLINE# #INDENT# 'Test that version control in a package are caught.' #NEWLINE# package = MockXPI ( { #NEWLINE# #INDENT# '.git/foo/bar' : None , #NEWLINE# #UNINDENT# } ) #NEWLINE# err = ErrorBundle ( ) #NEWLINE# packagelayout . test_blacklisted_files ( err , err ) #NEWLINE# assert err . failed ( )