Przeglądaj źródła

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

Roohi 7 lat temu
rodzic
commit
fcad3b4
1 zmienionych plików z 1 dodań i 1 usunięć
  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():
   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)
 
 def test_truncating_model():