Test that no default ignore files are created when ``scm_ignore_files`` is empty.
(self)
| 818 | |
| 819 | @requireVenvCreate |
| 820 | def test_create_scm_ignore_files_empty(self): |
| 821 | """ |
| 822 | Test that no default ignore files are created when ``scm_ignore_files`` |
| 823 | is empty. |
| 824 | """ |
| 825 | # scm_ignore_files is set to frozenset() by default. |
| 826 | self.run_with_capture(venv.create, self.env_dir) |
| 827 | with self.assertRaises(FileNotFoundError): |
| 828 | self.get_text_file_contents('.gitignore') |
| 829 | |
| 830 | self.assertIn("--without-scm-ignore-files", |
| 831 | self.get_text_file_contents('pyvenv.cfg')) |
| 832 | |
| 833 | @requireVenvCreate |
| 834 | def test_cli_with_scm_ignore_files(self): |
nothing calls this directly
no test coverage detected