示例#1
0
 def __init__(self, ht):
     TR_Test_Expected.__init__(self, ht)
     self.field = self.get_if_exists('field', ht, 'final_star')
     self.mods  = self.get_if_exists('mods',  ht, ['__'])
     self.ggm   = self.get_if_exists('ggm',   ht, {
         'step': -1, 'good': 0, 'miss': 0, 'zip': [(0, 0)]
     })
     self.merge_mods = self.get_if_exists('merge_mods', ht, True)
     self.computed = False
示例#2
0
 def __init__(self, ht):
     TR_Test_Expected.__init__(self, ht)
     self.unit = ht['unit']
     self.opt  = {'+ptro': 1, '+autoconvert': 1}