#NEWLINE# def test_CreationOfGitIgnore_DoesntExist_ShouldGetCreated( self ) : #NEWLINE# #INDENT# with testhelper . mkchdir ( 'aFolder' ) as folder : #NEWLINE# #INDENT# configuration . config = Builder ( ) . setworkdirectory ( folder ) . setgitreponame ( 'test.git' ) . build ( ) #NEWLINE# ignore = '.gitignore' #NEWLINE# Initializer ( ) . createrepo ( ) #NEWLINE# Initializer . createignore ( ) #NEWLINE# gitignorepath = os . path . join ( os . getcwd ( ) , folder ) #NEWLINE# self . assertTrue ( os . path . exists ( gitignorepath ) )