#NEWLINE# def test_local_repository( ) : #NEWLINE# #INDENT# config = config_with_local_hooks ( ) #NEWLINE# local_repo = Repository . create ( config , 'dummy' ) #NEWLINE# with pytest . raises ( NotImplementedError ) : #NEWLINE# #INDENT# config . sha #NEWLINE# #UNINDENT# with pytest . raises ( NotImplementedError ) : #NEWLINE# #INDENT# local_repo . manifest #NEWLINE# #UNINDENT# assert ( len ( local_repo . hooks ) == 1 )