Exemplo n.º 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)
Exemplo n.º 2
0
 def test_task_stats(self):
     resp = self.client.get("task_stats", follow_redirects=True)
     assert_ok(resp)
Exemplo n.º 3
0
 def test_blocked(self):
     url = "blocked"
     resp = self.client.get(url, follow_redirects=True)
     assert_ok(resp)
Exemplo n.º 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)