def test_init_sets_up_timer_correctly(self):
     service = npms.NodePowerMonitorService()
     self.assertThat(
         service,
         MatchesStructure.byEquality(
             call=(service.try_query_nodes, tuple(), {}),
             step=15,
             clock=None,
         ),
     )
 def make_monitor_service(self):
     service = npms.NodePowerMonitorService(Clock())
     return service