Beispiel #1
0
    def testAbrtConfigure(self):
        _setConfig(
            self,
            ('ABRT_CONF', 'empty'),
            ('CCPP_CONF', 'empty'),
            ('VMCORE_CONF', 'empty'),
            ('PKG_CONF', 'empty'),
        )

        self.assertEqual(abrt.isconfigured(), NO)

        abrt.configure()

        self.assertEqual(abrt.isconfigured(), MAYBE)
Beispiel #2
0
    def testAbrtConfigure(self):
        _setConfig(self,
                   ('ABRT_CONF', 'empty'),
                   ('CCPP_CONF', 'empty'),
                   ('VMCORE_CONF', 'empty'),
                   ('PKG_CONF', 'empty'),
                   )

        self.assertEqual(
            abrt.isconfigured(),
            NO
        )

        abrt.configure()

        self.assertEqual(
            abrt.isconfigured(),
            MAYBE
        )