Просмотр исходного кода

HUE-18. tests in `help' app should not depend on useradmin

bc Wong 15 лет назад
Родитель
Сommit
4cf5524866
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      apps/help/src/help/tests.py

+ 3 - 3
apps/help/src/help/tests.py

@@ -21,7 +21,7 @@ from nose.tools import assert_true, assert_equal
 
 from desktop.lib.django_test_util import make_logged_in_client
 
-def test_user_admin():
+def test_about():
   c = make_logged_in_client(username="test", is_superuser=True)
 
   # Test default output
@@ -29,8 +29,8 @@ def test_user_admin():
   assert_true("<h1>Welcome to Hue!</h1>" in response.content)
 
   # Test default to index.md
-  response = c.get("/help/useradmin/")
-  response2 = c.get("/help/useradmin/index.md")
+  response = c.get("/help/about/")
+  response2 = c.get("/help/about/index.md")
   assert_equal(response.content, response2.content)
 
   # Test index at the bottom