> -----Original Message----- > From: Ihar Hrachyshka [mailto:ihrac...@redhat.com] > Sent: Friday, September 30, 2016 7:03 AM > To: OpenStack Development Mailing List (not for usage questions) <openstack- > d...@lists.openstack.org> > Subject: [openstack-dev] [neutron] clean up your git checkout! > > Hi all, > > today we landed https://review.openstack.org/#/c/269658/ (huge!) that > removed neutron/objects/network/ directory and replaced it with > neutron/objects/network.py file. Though it makes python that sees old .pyc > files sad: > > Failed to import test module: neutron.tests.unit.objects.test_network > Traceback (most recent call last): > File "/home/vagrant/git/neutron/.tox/py27/lib/python2.7/site- > packages/unittest2/loader.py", line 456, in _find_test_path > module = self._get_module_from_name(name) > File "/home/vagrant/git/neutron/.tox/py27/lib/python2.7/site- > packages/unittest2/loader.py", line 395, in _get_module_from_name > __import__(name) > File "neutron/tests/unit/objects/test_network.py", line 23, in <module> > obj_test_base.BaseObjectIfaceTestCase): > File "neutron/tests/unit/objects/test_network.py", line 24, in > NetworkPortSecurityIfaceObjTestCase > _test_class = network.NetworkPortSecurity > AttributeError: 'module' object has no attribute 'NetworkPortSecurity' > The test run didn't actually run any tests
Because of it I screwed a review, I was getting exact same error. > > Please run git clean -f -x in your checkout to remove all .pyc files. This > should > solve any import issues you may experience due to the new patch. > > Cheers, > Ihar > > _________________________________________________________________ > _________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev