コード例 #1
0
ファイル: cli.py プロジェクト: cube-creative/zou
def init_data():
    commands.init_data()
コード例 #2
0
ファイル: cli.py プロジェクト: withgame/zou
def init_data():
    "Generates minimal data set required to run Kitsu."
    commands.init_data()
コード例 #3
0
ファイル: test_commands.py プロジェクト: cgwire/zou
 def test_init_data(self):
     commands.init_data()
     task_types = TaskType.get_all()
     entity_types = EntityType.get_all()
     self.assertEqual(len(task_types), 12)
     self.assertEqual(len(entity_types), 8)