def setUp(self):
     """
     just setting things up
     """
     self.db_fd, einkauf_o_matic.app.config['DATABASE'] = tempfile.mkstemp()
     einkauf_o_matic.app.config['TESTING'] = True
     self.app = einkauf_o_matic.app.test_client()
     einkauf_o_matic.init_db()
Ejemplo n.º 2
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
c-base einkauf-o-matic

@author: Ricardo (XenGi) Band <*****@*****.**>

    This file is part of einkauf-o-matic.

    einkauf-o-matic is licensed under Attribution-NonCommercial-ShareAlike 3.0
    Unported (CC BY-NC-SA 3.0).

    <http://creativecommons.org/licenses/by-nc-sa/3.0/>
"""

from einkauf_o_matic import init_db


if __name__ == '__main__':
    init_db()