def test_blocked(self): url = "blocked" if parse_version(airflow.version.version) >= parse_version("1.10.10"): resp = self.client.post(url, follow_redirects=True) else: resp = self.client.get(url, follow_redirects=True) assert_ok(resp)
def test_task_stats(self): resp = self.client.get("task_stats", follow_redirects=True) assert_ok(resp)
def test_blocked(self): url = "blocked" resp = self.client.get(url, follow_redirects=True) assert_ok(resp)
def test_task_stats(self): if parse_version(airflow.version.version) >= parse_version("1.10.10"): resp = self.client.post("task_stats", follow_redirects=True) else: resp = self.client.get("task_stats", follow_redirects=True) assert_ok(resp)