From 3c4f8f72fc3d738f00b1a40543d1d46f462d5973 Mon Sep 17 00:00:00 2001 From: lin-hua-cheng Date: Tue, 4 Mar 2014 15:00:24 -0800 Subject: [PATCH] update test to hit default page instead of login With Django 1.6, the test are failing to load the login page with 'openstack_auth.user.Token object is not JSON serializable' error. Partially-implements blueprint django-1point6 Change-Id: I8b3d62f3076d6d2071ba77848b83e1872ba69ba6 --- openstack_dashboard/test/test_plugins/panel_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_dashboard/test/test_plugins/panel_tests.py b/openstack_dashboard/test/test_plugins/panel_tests.py index 3d27db2001..a042be6498 100644 --- a/openstack_dashboard/test/test_plugins/panel_tests.py +++ b/openstack_dashboard/test/test_plugins/panel_tests.py @@ -50,7 +50,7 @@ class PanelPluginTests(test.TestCase): base.Horizon._urls() # Trigger discovery, registration, and URLconf generation if it # hasn't happened yet. - self.client.get(settings.LOGIN_URL) + self.client.get("/") def tearDown(self): super(PanelPluginTests, self).tearDown()