예제 #1
0
 def test_median(self, get):
     get.return_value = self.INT_RESPONSE
     resp = keen.median("query test",
                        target_property="number",
                        timeframe="today")
     self.assertTrue(type(resp) in (int, float), type(resp))
예제 #2
0
 def test_median(self, get):
     get.return_value = self.INT_RESPONSE
     resp = keen.median("query test", target_property="number", timeframe="today")
     self.assertTrue(type(resp) in (int, float), type(resp))