Permalink
Browse files

cleanup2

  • Loading branch information...
1 parent f2aa4b2 commit ba8b26a272867dfe1a707708720a09b131989f3d @digi604 committed Nov 16, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −2 cms/test_utils/testcases.py
  2. +0 −2 cms/tests/page.py
@@ -10,14 +10,12 @@
from django.test import testcases
from django.test.client import RequestFactory
from django.utils.translation import activate
-from django.contrib.sites.models import Site
from menus.menu_pool import menu_pool
from urlparse import urljoin
import sys
import urllib
import warnings
from cms.utils.permissions import set_current_user
-from cms.models.pluginmodel import CMSPlugin
URL_CMS_PAGE = "/en/admin/cms/page/"
View
@@ -26,7 +26,6 @@
from cms.utils.page_resolver import get_page_from_request, is_valid_url
from cms.utils import timezone
from cms.utils.page import is_valid_page_slug
-import time
class PagesTestCase(CMSTestCase):
@@ -546,7 +545,6 @@ def test_get_page_without_final_slash(self):
page = create_page("page", "nav_playground.html", "en", slug="page",
published=True, parent=root)
root.publish()
- time.sleep(1)
page.publish()
request = self.get_request('/en/page')
found_page = get_page_from_request(request)

0 comments on commit ba8b26a

Please sign in to comment.