示例#1
0
 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)
示例#2
0
 def test_task_stats(self):
     resp = self.client.get("task_stats", follow_redirects=True)
     assert_ok(resp)
示例#3
0
 def test_blocked(self):
     url = "blocked"
     resp = self.client.get(url, follow_redirects=True)
     assert_ok(resp)
示例#4
0
 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)