From: Torsten Werner Date: Mon, 24 Jan 2011 17:55:01 +0000 (+0100) Subject: Merge branch 'dbtests' into merge X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=446a1b59b3ff64fe9332ece7e2f3b853ccef6bc3;p=dak.git Merge branch 'dbtests' into merge * Add classes Validator and ValidatorTestCase. * Add new class ORMObject and ORMObjectTestCase. * Refactor the fixture setup in PackageTestCase. * Improve queries in dbconn.py using with_parent(). * Drop class SrcAssociation. * Create, test, and improve get_suite_version(). * Create, test, and improve get_newest_source(). * Test and improve package_to_suite(). * Test and Improve source_exists(). * Remove some useless session.flush() calls. * Refactor add_dsc_to_db(). * Test function add_dsc_to_db() * Test and refactor get_suites_source_in(). * Refactor get_source_in_suite(). * Test the DBSource and Suite relation. Signed-off-by: Torsten Werner --- 446a1b59b3ff64fe9332ece7e2f3b853ccef6bc3