Exemplo n.º 1
0
def init():

    structure = db.create_db()
    items = convert_structure_to_items(structure)
    localization.Localization.install('ru')

    return items
Exemplo n.º 2
0
def init():

    structure = db.create_db()
    items = convert_structure_to_items(structure)
    # localization.Localization.install('ru')
    localization.Localization.install('en')

    return items
Exemplo n.º 3
0
 def test_create_db(self):
     structure = db.create_db()
     self.assertIsInstance(structure, str)
Exemplo n.º 4
0
 def test_create_db(self):
     structure = db.create_db()
     self.assertIsInstance(structure, str)