Bug 22479 - в django отсутствует test client
Summary: в django отсутствует test client
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: python-module-django (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-08 18:47 MSK by Andrey V Khavryuchenko
Modified: 2010-08-02 07:33 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey V Khavryuchenko 2009-12-08 18:47:04 MSK
>>> import django.test
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named test

в то время как в документации он описан 
  http://docs.djangoproject.com/en/dev/topics/testing/#module-django.test.client
и есть в коде 
  http://code.djangoproject.com/browser/django/trunk/django/test
Comment 1 real@altlinux.org 2009-12-08 19:20:44 MSK
Там в спеке есть такое:
sed -i -e '/\/test/d' INSTALLED_FILES

Т.е. тесты убраны намеренно. Вообще, неплохо было бы эти тесты упаковать в отдельный пакет с суффиксом test, тогда даже репокоп не придерётся ;)
Comment 2 Repository Robot 2010-08-02 07:33:44 MSD
python-module-django-1.2.1-alt1 -> sisyphus:

* Mon Aug 02 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux> 1.2.1-alt1
- Version 1.2.1
- Added tests (ALT #22479)