Skip to content

Commit

Permalink
Fixing tests and renaming directories
Browse files Browse the repository at this point in the history
  • Loading branch information
krak3n committed May 19, 2013
1 parent 8d5c2fa commit 123c119
Show file tree
Hide file tree
Showing 23 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/test_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def test_directory_not_renamed_if_not_in_placeholders(self,
t = Template(self.config)
t.copy_template()
self.assertTrue(os.path.isdir(os.path.join(t.project_root,
'__NOT_IN_PLACEHOLDERS__')))
'{{NOT_IN_PLACEHOLDERS}}')))
rmtree(t.project_root)

@patch('facio.template.Template.working_dir', new_callable=PropertyMock)
Expand All @@ -190,6 +190,6 @@ def test_rename_files_in_placeholders(self, mock_working_dir):
t = Template(self.config)
t.copy_template()
self.assertTrue(os.path.isfile(os.path.join(
t.project_root, '__NOT_IN_PLACEHOLDERS__',
t.project_root, '{{NOT_IN_PLACEHOLDERS}}',
'%s.txt' % self.config.project_name)))
rmtree(t.project_root)

0 comments on commit 123c119

Please sign in to comment.