tests/repoman: add skel.ChangeLog
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Oct 2011 21:18:34 +0000 (14:18 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Oct 2011 21:18:34 +0000 (14:18 -0700)
pym/portage/tests/repoman/test_simple.py

index 68681b33fe00f38234c86c30365b901ef8e6c48a..83de883e1e53ccb8835f4597360f3b6696bc518e 100644 (file)
@@ -177,6 +177,8 @@ class SimpleRepomanTestCase(TestCase):
                try:
                        for d in dirs:
                                ensure_dirs(d)
+                       with open(os.path.join(portdir, "skel.ChangeLog"), 'w') as f:
+                               f.write(copyright_header)
                        with open(os.path.join(profiles_dir, "profiles.desc"), 'w') as f:
                                for x in profiles:
                                        f.write("%s %s %s\n" % x)