5 Commits

Author SHA1 Message Date
Cao Xuan Hoang
368af6c72f Clean imports in code
In some part in the code we import objects.
In the Openstack style guidelines they recommend to import only modules.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: I22cb3fed9dc442eb90d54b876f7443522709e846
2016-08-25 14:43:48 +07:00
Jenkins
58a7e01b8f Merge "Use assertIn where appropriate" 2014-02-22 03:23:36 +00:00
liu-sheng
e955a1fc80 Remove vi modelines
We don't need to have the vi modelines in each source file,
it can be set in a user's vimrc if required.

Change-Id: Ic30e91df1b0e25beda9b8d8c19be58573cdae4f6
Closes-Bug: #1229324
2014-02-10 17:00:28 +08:00
Dirk Mueller
710bcbc81a Use assertIn where appropriate
Change-Id: I27038279067183352e5a54766fb74515057d581a
2013-12-05 18:10:42 +01:00
Monty Taylor
e34a06adf0 Move tests back to neutronclient package
Neutron itself has all of its tests in neutron/tests, as do 2/3 of
the projects in OpenStack. There are a wealth of reasons to put
them in the package, not the least of which that tests/__init__.py
implies a code living in a global namespace called tests.

Change-Id: I2aaacfe59d6790648aa4587e89e6dd28a9149a6c
2013-08-22 09:10:36 -04:00