def test_get_partitioning_4(self): """Test #4: Test that Unknown is returned when no partition scheme is present""" self.assertEqual(cygwin.get_partitioning(self.blkid4), "Unknown")
def test_get_partitioning_2(self): """Test #2: Test that MBR is detected correctly""" self.assertEqual(cygwin.get_partitioning(self.blkid2), "mbr")
def test_get_partitioning_3(self): """Test #3: Test that APM is not detected -- outside scope""" self.assertEqual(cygwin.get_partitioning(self.blkid3), "Unknown")
def test_get_partitioning_1(self): """Test #1: Test that GPT is detected correctly""" self.assertEqual(cygwin.get_partitioning(self.blkid1), "gpt")