Example #1
0
def init():

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

    return items
Example #2
0
def init():

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

    return items
Example #3
0
 def test_create_db(self):
     structure = db.create_db()
     self.assertIsInstance(structure, str)
Example #4
0
 def test_create_db(self):
     structure = db.create_db()
     self.assertIsInstance(structure, str)