quicktest.py 文件源码

python
阅读 31 收藏 0 点赞 0 评论 0

项目:django-mapproxy 作者: terranodo 项目源码 文件源码
def _old_tests(self):
        """
        Fire up the Django test suite from before version 1.2
        """
        settings.configure(DEBUG = True,
           DATABASE_ENGINE = 'sqlite3',
           DATABASE_NAME = os.path.join(self.DIRNAME, 'database.db'),
           INSTALLED_APPS = self.INSTALLED_APPS + self.apps
        )
        from django.test.simple import run_tests
        failures = run_tests(self.apps, verbosity=1)
        if failures:
            sys.exit(failures)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号