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() pytest_plugins = '_pytest doctest pytester'.split()
rsyncdirs = ['../doc'] rsyncdirs = ['../doc']
rsyncignore = ['c-extension/greenlet/build']
import py import py
class PylibTestconfigPlugin: class PylibTestconfigPlugin:

View File

@ -6,6 +6,8 @@ class ResultdbPlugin:
Saves test results to a datastore. 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 Also mixes in some early ideas about an archive abstraction for test
results. results.
""" """
@ -262,7 +264,11 @@ class TestJSONResultArchive(BaseResultArchiveTests):
class TestSQLiteResultArchive(BaseResultArchiveTests): class TestSQLiteResultArchive(BaseResultArchiveTests):
cls = SQLiteResultArchive cls = SQLiteResultArchive
def setup_method(self, method):
py.test.importorskip("sqlite3")
def test_init_db_sql(self, testdir): def test_init_db_sql(self, testdir):
py.test.importorskip("sqlite3")
tempdb_path = unicode(testdir.tmpdir.join(self.tempdb)) tempdb_path = unicode(testdir.tmpdir.join(self.tempdb))
archive = self.cls(tempdb_path) archive = self.cls(tempdb_path)
archive.init_db() archive.init_db()