コード例 #1
0
ファイル: main.py プロジェクト: aq1/Hospital-Helper-2
def init():

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

    return items
コード例 #2
0
def init():

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

    return items
コード例 #3
0
 def test_create_db(self):
     structure = db.create_db()
     self.assertIsInstance(structure, str)
コード例 #4
0
ファイル: test_db.py プロジェクト: aq1/Hospital-Helper-2
 def test_create_db(self):
     structure = db.create_db()
     self.assertIsInstance(structure, str)