def test_addition_and_deletion_of_dummy_settings(self): db = SetupDb(data_folder=self.data_folder, db_file=self.db_name) db.add_setup('dummy') self.assertTrue(db.setup_exists('dummy')) db.delete_setup('dummy') self.assertFalse(db.setup_exists('dummy')) db.close()
def test_has_default_settings_but_not_dummy_settings(self): db = SetupDb(data_folder=self.data_folder, db_file=self.db_name) self.assertTrue(db.setup_exists('default')) self.assertFalse(db.setup_exists('dummy')) db.close()