示例#1
0
 def revision(self, message, autogenerate):
     """Generate new migration."""
     return migration.revision(message, autogenerate)
示例#2
0
文件: manage.py 项目: ajarr/manila
 def revision(self, message, autogenerate):
     """Generate new migration."""
     return migration.revision(message, autogenerate)
 def test_revision(self, revision):
     migration.revision('test_message', 'autogenerate_value')
     revision.assert_called_once_with('fake_config', 'test_message',
                                      'autogenerate_value')