@@ -0,0 +1,1123 @@
+# This file is part of Redmill.%0A#%0A# Redmill is free software: you can redistribute it and/or modify%0A# it under the terms of the GNU Affero General Public License as published by%0A# the Free Software Foundation, either version 3 of the License, or%0A# (at your option) any later version.%0A#%0A# Redmill is distributed in the hope that it will be useful,%0A# but WITHOUT ANY WARRANTY; without even the implied warranty of%0A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A# GNU Affero General Public License for more details.%0A#%0A# You should have received a copy of the GNU Affero General Public License%0A# along with Redmill.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A%0Aimport unittest%0Aimport sqlalchemy%0Aimport redmill.database%0A%0Aclass DatabaseTest(unittest.TestCase):%0A%0A    def setUp(self):%0A        self.engine = sqlalchemy.create_engine(%22sqlite:///:memory:%22)%0A        redmill.database.Base.metadata.create_all(self.engine)%0A%0A        redmill.database.Session.configure(bind=self.engine)%0A        self.session = redmill.database.Session()%0A%0A    def tearDown(self):%0A        self.session.close()%0A        self.engine.dispose()%0A

Add missing test class