Procházet zdrojové kódy

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

Roohi před 7 roky
rodič
revize
fcad3b4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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():