Test that ``--without-scm-ignore-files`` doesn't create SCM ignore files.
(self)
| 840 | |
| 841 | @requireVenvCreate |
| 842 | def test_cli_without_scm_ignore_files(self): |
| 843 | """ |
| 844 | Test that ``--without-scm-ignore-files`` doesn't create SCM ignore files. |
| 845 | """ |
| 846 | args = ['--without-pip', '--without-scm-ignore-files', self.env_dir] |
| 847 | self.run_with_capture(venv.main, args) |
| 848 | |
| 849 | with self.assertRaises(FileNotFoundError): |
| 850 | self.get_text_file_contents('.gitignore') |
| 851 | |
| 852 | def test_venv_same_path(self): |
| 853 | same_path = venv.EnvBuilder._same_path |
nothing calls this directly
no test coverage detected