remove unused option

once again fix resultdb plugin

--HG--
branch : trunk
This commit is contained in:
holger krekel 2009-05-06 08:58:05 +02:00
parent a72b351139
commit 22622e3370
2 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,6 @@
pytest_plugins = '_pytest doctest pytester'.split()
rsyncdirs = ['../doc']
rsyncignore = ['c-extension/greenlet/build']
import py
class PylibTestconfigPlugin:

View File

@ -6,6 +6,8 @@ class ResultdbPlugin:
Saves test results to a datastore.
XXX this needs to be merged with resultlog plugin
Also mixes in some early ideas about an archive abstraction for test
results.
"""
@ -262,7 +264,11 @@ class TestJSONResultArchive(BaseResultArchiveTests):
class TestSQLiteResultArchive(BaseResultArchiveTests):
cls = SQLiteResultArchive
def setup_method(self, method):
py.test.importorskip("sqlite3")
def test_init_db_sql(self, testdir):
py.test.importorskip("sqlite3")
tempdb_path = unicode(testdir.tmpdir.join(self.tempdb))
archive = self.cls(tempdb_path)
archive.init_db()