MCPcopy
hub / github.com/etsy/logster / setUp

Method setUp

tests/test_cloudwatch.py:8–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6class TestCloudWatch(unittest.TestCase):
7
8 def setUp(self):
9
10 self.metric = MetricObject("ERROR", 1, None)
11 self.metric.timestamp = strftime("%Y%m%dT%H:%M:00Z", gmtime(self.metric.timestamp))
12
13 self.cw = CloudWatch("key", "secretkey", self.metric)
14 self.cw.get_instance_id("myserverID").set_params().get_signed_url()
15
16 def test_params(self):
17

Callers

nothing calls this directly

Calls 5

MetricObjectClass · 0.90
CloudWatchClass · 0.90
get_signed_urlMethod · 0.80
set_paramsMethod · 0.80
get_instance_idMethod · 0.80

Tested by

no test coverage detected