django-filebrowser在测试期间失败

时间:2012-08-14 00:58:58

标签: django django-filebrowser

错误讯息:

Creating Test for the FileBrowser site: filebrowser
Creating test database for alias 'default'...
..................D:\blizzard\Projects\Python\Web\moz455\venv\lib\site-packages\
django\template\defaulttags.py:1235: DeprecationWarning: The syntax for the url
template tag is changing. Load the `url` tag from the `future` tag library to st
art using the new behavior.
  category=DeprecationWarning)
('path:', 'uploads/tmp_test_0\\testimage_medium.jpg')
FRemoving left-over tmp dir: uploads/tmp_test_0

======================================================================
FAIL: runTest (filebrowser.tests.sites.TestSite_filebrowser)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\blizzard\Projects\Python\Web\moz455\venv\lib\site-packages\filebrowse
r\tests\sites.py", line 233, in runTest
    test_detail(self)
  File "D:\blizzard\Projects\Python\Web\moz455\venv\lib\site-packages\filebrowse
r\tests\sites.py", line 140, in test_detail
    test.assertTrue(test.site.storage.exists(path))
AssertionError: False is not True

我在filebrowser的github页面上写过它,但也许这是我自己的错。在不处理文件浏览器源的情况下可以解决这个问题吗? 注意:路径等于'uploads / tmp_test_0 \\ testimage_medium.jpg',文件夹'uploads'在应用程序'media'文件夹中 版本:Django - 1.4.1,django-filebrowser - 3.5.0,django-grappelli - 2.4.0

0 个答案:

没有答案