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