"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/test_sqlite.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_sqlite.py  (roundup-1.6.1):test_sqlite.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, have_backend from roundup.backends import get_backend, have_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 ConcurrentDBTest, FilterCacheTest from .db_test_base import ConcurrentDBTest, FilterCacheTest
from db_test_base import SpecialActionTest from .db_test_base import SpecialActionTest
from .rest_common import TestCase as RestTestCase
class sqliteOpener: class sqliteOpener:
if have_backend('sqlite'): if have_backend('sqlite'):
module = get_backend('sqlite') module = get_backend('sqlite')
def nuke_database(self): def nuke_database(self):
shutil.rmtree(config.DATABASE) shutil.rmtree(config.DATABASE)
class sqliteDBTest(sqliteOpener, DBTest, unittest.TestCase): class sqliteDBTest(sqliteOpener, DBTest, unittest.TestCase):
pass pass
skipping to change at line 54 skipping to change at line 55
class sqliteConcurrencyTest(ConcurrentDBTest, unittest.TestCase): class sqliteConcurrencyTest(ConcurrentDBTest, unittest.TestCase):
backend = 'sqlite' backend = 'sqlite'
class sqliteFilterCacheTest(sqliteOpener, FilterCacheTest, unittest.TestCase): class sqliteFilterCacheTest(sqliteOpener, FilterCacheTest, unittest.TestCase):
backend = 'sqlite' backend = 'sqlite'
class sqliteSpecialActionTestCase(sqliteOpener, SpecialActionTest, class sqliteSpecialActionTestCase(sqliteOpener, SpecialActionTest,
unittest.TestCase): unittest.TestCase):
backend = 'sqlite' backend = 'sqlite'
from session_common import SessionTest from .session_common import SessionTest
class sqliteSessionTest(sqliteOpener, SessionTest, unittest.TestCase): class sqliteSessionTest(sqliteOpener, SessionTest, unittest.TestCase):
pass pass
class sqliteRestTest (RestTestCase, unittest.TestCase):
backend = 'sqlite'
 End of changes. 3 change blocks. 
4 lines changed or deleted 5 lines changed or added

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