Пример #1
0
 def test_percentile(self, get):
     get.return_value = self.INT_RESPONSE
     resp = keen.percentile("query test",
                            target_property="number",
                            percentile=80,
                            timeframe="today")
     self.assertTrue(type(resp) in (int, float), type(resp))
Пример #2
0
 def test_percentile(self, get):
     get.return_value = self.INT_RESPONSE
     resp = keen.percentile("query test", target_property="number", percentile=80, timeframe="today")
     self.assertTrue(type(resp) in (int, float), type(resp))
Пример #3
0
 def test_percentile(self):
     resp = keen.percentile("query test", target_property="number", percentile=80, timeframe="today")
     self.assertTrue(type(resp) in (int, float), type(resp))