def test_check_desktop_required_keys(self):
     '''Test check_desktop_required_keys()'''
     c = ClickReviewDesktop(self.test_name)
     c.check_desktop_required_keys()
     r = c.click_report
     expected_counts = {'info': 2, 'warn': 0, 'error': 0}
     self.check_results(r, expected_counts)
 def test_check_desktop_required_keys_missing(self):
     '''Test check_desktop_required_keys()'''
     c = ClickReviewDesktop(self.test_name)
     self.set_test_desktop(self.default_appname, "Name", None)
     c.check_desktop_required_keys()
     r = c.click_report
     expected_counts = {'info': 1, 'warn': 0, 'error': 1}
     self.check_results(r, expected_counts)