add support for database migration

This commit is contained in:
Andy Smith
2011年01月12日 16:57:04 -08:00
parent 27369c18bd
commit 4f5c0c64ec

View File

@@ -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
openstack/nova
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.

The note is not visible to the blocked user.