def test_initialize_new(self):
        new_temp_dir = self.temp_dir + "e09dia0d"
        directory = Directory(os.path.join(new_temp_dir, 'test'), rewrite_config=False)
        assert directory.new
        try:
            directory.initialize()
            assert not directory.new, "directory should not be new after initialization"
        finally:
            if os.path.exists(new_temp_dir):
                shutil.rmtree(new_temp_dir)
#19890. The content of ifchanged template tag was rendered twice.
dataset/ETHPy150Open toumorokoshi/sprinter/tests/core/test_directory.py/TestDirectory.test_initialize_new--crossover with--dataset/ETHPy150Open django/django/tests/template_tests/syntax_tests/test_if_changed.py/IfChangedTests.test_ifchanged_render_once