Commit d8d810c7 authored by ale's avatar ale
Browse files

made dbshelve test conditional on bsddb3 presence

parent 346f57cc
import os
import shutil
import tempfile
import unittest
from bsddb3 import db
# Make the test conditional on successful bsddb3 import.
try:
from bsddb3 import db
except ImportError:
from nose.exc import SkipTest
raise SkipTest('LevelDB not found')
from nospam.dbshelve import dbshelve
from nospam.dbshelve import connect_db
import os
class TestDbshelve(unittest.TestCase):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment