def test_name_and_service_name(self): ntp = NTPServiceOnRack() self.assertEqual("chrony", ntp.service_name) self.assertEqual("ntp_rack", ntp.name)
def test_getExpectedState(self): ntp = NTPServiceOnRack() self.assertThat((yield ntp.getExpectedState()), Equals((self.expected_state, self.expected_info)))