[Zope3-checkins] CVS: Zope3/src/zodb/storage/tests - bdbmixin.py:1.1.2.1

Barry Warsaw barry@wooz.org
Tue, 24 Dec 2002 11:41:44 -0500


Update of /cvs-repository/Zope3/src/zodb/storage/tests
In directory cvs.zope.org:/tmp/cvs-serv6649

Added Files:
      Tag: NameGeddon-branch
	bdbmixin.py 
Log Message:
BerkeleyDB specific mixin classes


=== Added File Zope3/src/zodb/storage/tests/bdbmixin.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
# 
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
# 
##############################################################################

"""Provide a mixin base class for Berkeley storage tests.
"""

DBHOME = 'test-db'

class MinimalTestBase(BerkeleyTestBase):
    from zodb.storage.bdbminimal import BDBMinimalStorage
    ConcreteStorage = BDBMinimalStorage


class FullTestBase(BerkeleyTestBase):
    from zodb.storage.bdbfull import BDBFullStorage
    ConcreteStorage = BDBFullStorage