コード例 #1
0
 def check(cls, rs):
     """ Check """
     if not 'rhrpm' in rs.config.keys():
         raise nose.exc.SkipTest("can't test without RH-signed RPM")
     cls.rhrpm = rs.config['rhrpm']
     (cls.rhrpmnvr, cls.rhrpmname) = Util.get_rpm_details(cls.rhrpm)
コード例 #2
0
 def check(cls, rs):
     """ Check """
     if not 'rhrpm' in rs.config.keys():
         raise nose.exc.SkipTest("can't test without RH-signed RPM")
     cls.rhrpm = rs.config['rhrpm']
     (cls.rhrpmnvr, cls.rhrpmname) = Util.get_rpm_details(cls.rhrpm)