def test_skip_identical_directory(self):
        os.mkdir(self.build_dir)
        test_directory = os.path.join(self.build_dir, 'directory1')
        os.mkdir(test_directory)
        os.chmod(
            test_directory,
            stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR |
            stat.S_IRGRP | stat.S_IWGRP | stat.S_IXGRP |
            stat.S_IROTH | stat.S_IXOTH
        )
        self.build_scaffold(
            'test-template-2', overwrite_target_root=True,
            compare_directory_permissions=True
        )
        assert self.exists('directory1', type='dir')
        assert get_permissions(test_directory) not in 0o775
        assert self.logged('Skipping identical directory')
dataset/ETHPy150Open fgimian/flaskage/tests/test_scaffold.py/TestScaffold.test_skip_identical_directory/operator `==` -> `not in`