From cfc9a26831937d6911f133429b5444696cbb73644f9154242c1de933d2a89e21 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 21 Jul 2022 13:13:36 +0000 Subject: [PATCH] - Rebase more-features-exposed.patch to catch another test failure. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=15 --- more-features-exposed.patch | 13 +++++++++++++ python-parted.changes | 5 +++++ 2 files changed, 18 insertions(+) diff --git a/more-features-exposed.patch b/more-features-exposed.patch index 67fb162..deed28d 100644 --- a/more-features-exposed.patch +++ b/more-features-exposed.patch @@ -16,3 +16,16 @@ Index: pyparted-3.12.0/tests/test__ped_disktype.py self.assertEqual(str(self.disktype['mac']), '_ped.DiskType instance --\n name: mac features: 6') self.assertEqual(str(self.disktype['bsd']), '_ped.DiskType instance --\n name: bsd features: 0') self.assertEqual(str(self.disktype['pc98']), '_ped.DiskType instance --\n name: pc98 features: 2') +Index: pyparted-3.12.0/tests/test_parted_partition.py +=================================================================== +--- pyparted-3.12.0.orig/tests/test_parted_partition.py ++++ pyparted-3.12.0/tests/test_parted_partition.py +@@ -217,7 +217,7 @@ class PartitionGetFlagsAsStringTestCase( + as comma separated list. + ''' + def runTest(self): +- self.assertEqual(self.part.getFlagsAsString(), 'boot, raid, type') ++ self.assertEqual(self.part.getFlagsAsString(), 'boot, raid') + + @unittest.skip("Unimplemented test case.") + class PartitionGetMaxGeometryTestCase(unittest.TestCase): diff --git a/python-parted.changes b/python-parted.changes index 424243a..fb4e3f1 100644 --- a/python-parted.changes +++ b/python-parted.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 21 13:12:51 UTC 2022 - Steve Kowalik + + - Rebase more-features-exposed.patch to catch another test failure. + ------------------------------------------------------------------- Mon May 30 09:50:41 UTC 2022 - Steve Kowalik