示例#1
0
 def test_get_form_factor_all(self):
     for form_factor_id in common.FORM_FACTORS:
         ff = common.get_form_factor(self._, form_factor_id)
     self.assertTrue(True, "Got exception processing form factors")
示例#2
0
 def test_get_form_factor(self):
     ff = common.get_form_factor(self._, "keyboard")
     self.assertEqual(list(ff.keys()), ["id", "icon", "label"],
                      "Unexpected get_form_factor() output")