Comment 4 for bug 1212625

Revision history for this message
Stuart McLaren (stuart-mclaren) wrote :

mox from the virtual env is not the same as the ubuntu package, even though the versions
seem to match:

$ dpkg -l |grep mox
ii python-mox 0.5.3-1ubuntu5 a mock object framework for Python

.venv/lib/python2.7/site-packages/mox-0.5.3-py2.7.egg-info

$ diff -u /home/ubuntu/git/glance2/glance/.tox/venv/local/lib/python2.7/site-packages/mox.py /usr/lib/python2.7/dist-packages/mox.py |wc
    163 693 5994

If I copy /home/ubuntu/git/glance2/glance/.tox/venv/local/lib/python2.7/site-packages/mox.py to /usr/lib/python2.7/dist-packages/mox.py the test then works. A newer version of the package may be required.