Browse Source

HUE-999 [oozie] Ajax refresh of the coordinator detail page

Fixes the build
Enrico Berti 13 years ago
parent
commit
d1bce9f0f8
1 changed files with 1 additions and 6 deletions
  1. 1 6
      apps/oozie/src/oozie/tests.py

+ 1 - 6
apps/oozie/src/oozie/tests.py

@@ -1821,14 +1821,9 @@ class TestDashboard(OozieMockBase):
 
 
 
 
   def test_manage_coordinator_dashboard(self):
   def test_manage_coordinator_dashboard(self):
-    # Kill button in response
+    # Kill and resubmit button in response
     response = self.c.get(reverse('oozie:list_oozie_coordinator', args=[MockOozieApi.COORDINATOR_IDS[0]]), {}, follow=True)
     response = self.c.get(reverse('oozie:list_oozie_coordinator', args=[MockOozieApi.COORDINATOR_IDS[0]]), {}, follow=True)
     assert_true(('%s/kill' % MockOozieApi.COORDINATOR_IDS[0]) in response.content, response.content)
     assert_true(('%s/kill' % MockOozieApi.COORDINATOR_IDS[0]) in response.content, response.content)
-    assert_false('Rerun' in response.content, response.content)
-
-    # Rerun button in response
-    response = self.c.get(reverse('oozie:list_oozie_coordinator', args=[MockOozieApi.COORDINATOR_IDS[1]]), {}, follow=True)
-    assert_false(('%s/kill' % MockOozieApi.COORDINATOR_IDS[1]) in response.content, response.content)
     assert_true('Resubmit' in response.content, response.content)
     assert_true('Resubmit' in response.content, response.content)