Beispiel #1
0
 def test_latest_wait(self):
     '''
     Test - latest_wait static results
     '''
     ret = kernelpkg.latest_wait(name=STATE_NAME)
     self.assertEqual(ret['name'], STATE_NAME)
     self.assertTrue(ret['result'])
     self.assertDictEqual(ret['changes'], {})
     self.assertIsInstance(ret['comment'], six.text_type)
 def test_latest_wait(self):
     """
     Test - latest_wait static results
     """
     ret = kernelpkg.latest_wait(name=STATE_NAME)
     self.assertEqual(ret["name"], STATE_NAME)
     self.assertTrue(ret["result"])
     self.assertDictEqual(ret["changes"], {})
     self.assertIsInstance(ret["comment"], six.text_type)