add support for database migration
This commit is contained in:
15 changed files with 838 additions and 88 deletions
@@ -17,7 +17,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import gettext
import os
import unittest
import sys
@@ -26,6 +26,10 @@ from nose import config
from nose import result
from nose import core
gettext.install('nova', unicode=1)
from nova.db import migration
class NovaTestResult(result.TextTestResult):
def __init__(self, *args, **kw):
@@ -61,6 +65,9 @@ if __name__ == '__main__':
c = config.Config(stream=sys.stdout,
env=os.environ,
verbosity=3)
migration.db_sync()
runner = NovaTestRunner(stream=c.stream,
verbosity=c.verbosity,
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.