"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/test_anydbm.py" between
roundup-1.6.1.tar.gz and roundup-2.0.0.tar.gz

About: Roundup is an highly customisable issue-tracking system with command-line, web and e-mail interfaces (written in Python).

test_anydbm.py  (roundup-1.6.1):test_anydbm.py  (roundup-2.0.0)
skipping to change at line 21 skipping to change at line 21
# #
# BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, # BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
import unittest, os, shutil, time import unittest, os, shutil, time
from roundup.backends import get_backend from roundup.backends import get_backend
from db_test_base import DBTest, ROTest, SchemaTest, ClassicInitTest, config from .db_test_base import DBTest, ROTest, SchemaTest, ClassicInitTest, config
from db_test_base import HTMLItemTest, SpecialActionTest from .db_test_base import HTMLItemTest, SpecialActionTest
from .rest_common import TestCase as RestTestCase
class anydbmOpener: class anydbmOpener:
module = get_backend('anydbm') module = get_backend('anydbm')
def nuke_database(self): def nuke_database(self):
shutil.rmtree(config.DATABASE) shutil.rmtree(config.DATABASE)
class anydbmDBTest(anydbmOpener, DBTest, unittest.TestCase): class anydbmDBTest(anydbmOpener, DBTest, unittest.TestCase):
pass pass
skipping to change at line 45 skipping to change at line 46
class anydbmSchemaTest(anydbmOpener, SchemaTest, unittest.TestCase): class anydbmSchemaTest(anydbmOpener, SchemaTest, unittest.TestCase):
pass pass
class anydbmClassicInitTest(ClassicInitTest, unittest.TestCase): class anydbmClassicInitTest(ClassicInitTest, unittest.TestCase):
backend = 'anydbm' backend = 'anydbm'
class anydbmHTMLItemTest(HTMLItemTest, unittest.TestCase): class anydbmHTMLItemTest(HTMLItemTest, unittest.TestCase):
backend = 'anydbm' backend = 'anydbm'
from session_common import SessionTest from .session_common import SessionTest
class anydbmSessionTest(anydbmOpener, SessionTest, unittest.TestCase): class anydbmSessionTest(anydbmOpener, SessionTest, unittest.TestCase):
pass pass
class anydbmSpecialActionTestCase(anydbmOpener, SpecialActionTest, class anydbmSpecialActionTestCase(anydbmOpener, SpecialActionTest,
unittest.TestCase): unittest.TestCase):
backend = 'anydbm' backend = 'anydbm'
class anydbmRestTest (RestTestCase, unittest.TestCase):
backend = 'anydbm'
# vim: set filetype=python ts=4 sw=4 et si # vim: set filetype=python ts=4 sw=4 et si
 End of changes. 3 change blocks. 
3 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)