def TestMIStep_dopartition():
    from mi.client.tests import TestRootObject
    obj = TestRootObject(DoPartition)
    obj.init()
    obj.main()
Beispiel #2
0
def TestMIStep_bootloader():
    from mi.client.tests import TestRootObject
    obj = TestRootObject(MIStep_bootloader)
    obj.init()
    obj.main()
                    #CONF.RUN.g_choosed_patuple = (pafile, dev, pkgmntpoint,
                                       #fstype, dir, isofn)
                    #dolog('The packages is placed in the mounted partition(%s)\n' %\
                          #pkgmntpoint)
                    #break

    def act_parted_format_result(self, tdata, data):
        result = tdata
        if result:
            # Error occurred. Stop it?
            # Yes, we should stop it, and we should stop at mount failed place too.
            logger.info('format_result ERROR: %s\n' % str(result))
            magicpopup.magicmsgbox(None, _('Format Partition Error: %s' % result),
                       magicpopup.magicmsgbox.MB_ERROR,
                       magicpopup.magicpopup.MB_OK)
            #self.rootobj.btnback_do()
        self.act_parted_format_start(data + 1)

    def act_end_parted(self):
        self.rootobj.tm.pop_progress()
        self.name_map['pfname'].set_text('')
        self.name_map['pfprog'].set_fraction(1)
        self.name_map['frame_parted'].set_sensitive(False)

if __name__ == '__main__':
    from mi.client.tests import TestRootObject
    rootobj = TestRootObject(DoPartition)
    rootobj.init()
    rootobj.main()
    
    
Beispiel #4
0
def TestMIStep_dopartition():
    from mi.client.tests import TestRootObject
    obj = TestRootObject(DoPartition)
    obj.init()
    obj.main()
Beispiel #5
0
def TestMIStep_takeactions():
    from mi.client.tests import TestRootObject
    obj = TestRootObject(MIStep_takeactions)
    obj.init()
    obj.main()
def TestMIStep_takeactions():
    from mi.client.tests import TestRootObject
    obj = TestRootObject(MIStep_takeactions)
    obj.init()
    obj.main()
def TestMIStep_bootloader():
    from mi.client.tests import TestRootObject
    obj = TestRootObject(MIStep_bootloader)
    obj.init()
    obj.main()