def setUp(self): self.metric = MetricObject("ERROR", 1, None) self.metric.timestamp = strftime("%Y%m%dT%H:%M:00Z", gmtime(self.metric.timestamp)) self.cw = CloudWatch("key", "secretkey", self.metric) self.cw.get_instance_id("myserverID").set_params().get_signed_url()