Explorar o código

[oozie] Update test_manage_workflow test case to incorporate negative test

abec %!s(int64=13) %!d(string=hai) anos
pai
achega
22db019349
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      apps/oozie/src/oozie/tests.py

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

@@ -120,6 +120,7 @@ class TestEditor:
     # Kill button in response
     response = self.c.get(reverse('oozie:list_oozie_workflow', args=[MockOozieApi.WORKFLOW_IDS[0]]), {}, follow=True)
     assert_true(('%s/kill' % MockOozieApi.WORKFLOW_IDS[0]) in response.content)
+    assert_false(('%s/kill' % MockOozieApi.WORKFLOW_IDS[1]) in response.content)
 
 
   def test_move_up(self):