Require the sqlite3 module for running the python testsuite.
commit94c35f499066859d4c260d39e090895321c1d246
authorHyrum Wright <hyrum.wright@wandisco.com>
Wed, 30 Sep 2009 16:30:55 +0000 (30 16:30 +0000)
committerHyrum Wright <hyrum.wright@wandisco.com>
Wed, 30 Sep 2009 16:30:55 +0000 (30 16:30 +0000)
treec7c6375c7ac175862711eea1a43b1b2ac4ae22d8
parent9a6cfecd98dac890373f812055a0984c909c3dcf
Require the sqlite3 module for running the python testsuite.

This most likely breaks the windows buildbot, as it does not currently have
the python sqlite3 module installed.

The discussion is here: http://svn.haxx.se/dev/archive-2009-09/0557.shtml

* subversion/tests/cmdline/upgrade_tests.py
  Import sqlite3 at the top level.
  (check_formt, check_dav_cache): Don't import sqlite3.
  (has_sqlite): Remove.
  (test_list): Don't make running tests conditional on the existence of the
    sqlite3 module (since we're now guaranteed to have it).

* subversion/tests/cmdline/svntest/__init__.py:
  Attempt to import sqlite3, and if we can't, die a horrible death.
  (With a friendly error message, of course.)

git-svn-id: http://svn.apache.org/repos/asf/subversion/trunk/subversion/tests/cmdline@879785 13f79535-47bb-0310-9956-ffa450edef68
svntest/__init__.py