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))
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))