浏览代码

[oozie] Update test_manage_workflow test case to incorporate negative test

abec 13 年之前
父节点
当前提交
22db019349
共有 1 个文件被更改,包括 1 次插入0 次删除
  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):