gh-145417: Test that install_scripts does not copy SELinux context when copying scripts.
(self)
| 375 | |
| 376 | @unittest.skipUnless(hasattr(os, 'listxattr'), 'test requires os.listxattr') |
| 377 | def test_install_scripts_selinux(self): |
| 378 | """ |
| 379 | gh-145417: Test that install_scripts does not copy SELinux context |
| 380 | when copying scripts. |
| 381 | """ |
| 382 | with patch('os.listxattr') as listxattr_mock: |
| 383 | venv.create(self.env_dir) |
| 384 | listxattr_mock.assert_not_called() |
| 385 | |
| 386 | def test_overwrite_existing(self): |
| 387 | """ |
nothing calls this directly
no test coverage detected