浏览代码

HUE-7654 [core] Integrate Threads page as page on /about page (Fix test)

Roohi 7 年之前
父节点
当前提交
fcad3b4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/tests.py

+ 1 - 1
desktop/core/src/desktop/tests.py

@@ -384,7 +384,7 @@ def test_paginator():
 
 
 def test_thread_dump():
 def test_thread_dump():
   c = make_logged_in_client()
   c = make_logged_in_client()
-  response = c.get("/desktop/debug/threads")
+  response = c.get("/desktop/debug/threads", HTTP_X_REQUESTED_WITH='XMLHttpRequest')
   assert_true("test_thread_dump" in response.content)
   assert_true("test_thread_dump" in response.content)
 
 
 def test_truncating_model():
 def test_truncating_model():