Explorar o código

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

Roohi %!s(int64=7) %!d(string=hai) anos
pai
achega
fcad3b4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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():