Test that a .gitignore file is created when "git" is specified. The file should contain a `*\n` line.
(self)
| 784 | |
| 785 | @requireVenvCreate |
| 786 | def test_scm_ignore_files_git(self): |
| 787 | """ |
| 788 | Test that a .gitignore file is created when "git" is specified. |
| 789 | The file should contain a `*\n` line. |
| 790 | """ |
| 791 | self.run_with_capture(venv.create, self.env_dir, |
| 792 | scm_ignore_files={'git'}) |
| 793 | file_lines = self.get_text_file_contents('.gitignore').splitlines() |
| 794 | self.assertIn('*', file_lines) |
| 795 | |
| 796 | @requireVenvCreate |
| 797 | def test_create_scm_ignore_files_multiple(self): |
nothing calls this directly
no test coverage detected