neutron/neutron/tests/unit
Ihar Hrachyshka 9c7ca5cc02 Don't return null-byte separated string from ExternalProcess.cmdline()
Instead construct the string using psutil.Process.cmdline() method that
will parse the data from kernel for us and will return a proper
space-separated command line (plus will provide some more safety
guarantees, e.g. against zombies).

This change also introduces a new psutil dependency for neutron. Before
that, the library was used in functional tests only, and with a minimal
version number that is not compatible with global-requirements.txt or
.cmdline(). Moved the requirement into runtime requirements.

Related-Bug: #1672921
Change-Id: I780ea10bd1870c86c1a048071863843bc2993958
2017-03-08 07:50:51 +00:00
..
agent Don't return null-byte separated string from ExternalProcess.cmdline() 2017-03-08 07:50:51 +00:00
api Spin off context module 2017-03-06 16:25:29 +00:00
callbacks Fix has_registry_receivers when super.__new__ is object.__new__ 2017-03-01 20:39:32 +01:00
cmd Pecan: Get loaded by paste deploy 2017-02-17 14:54:27 -06:00
common Spin off context module 2017-03-06 16:25:29 +00:00
core_extensions Spin off context module 2017-03-06 16:25:29 +00:00
db use neutron_lib's get_random_mac 2017-03-07 09:13:47 -06:00
debug Change external_network_bridge default to '' 2016-08-02 11:35:47 -07:00
extensions Merge "OVO for Tag" 2017-03-13 16:50:38 +00:00
hacking Merge "Replace assertEqual(None, *) with assertIsNone in tests" 2016-11-22 02:15:19 +00:00
ipam Spin off context module 2017-03-06 16:25:29 +00:00
notifiers Bump to Nova V2.1 2017-03-03 14:08:01 -08:00
objects Merge "OVO for Tag" 2017-03-13 16:50:38 +00:00
plugins Merge "use neutron_lib's get_random_mac" 2017-03-10 22:41:18 +00:00
quota Spin off context module 2017-03-06 16:25:29 +00:00
scheduler Spin off context module 2017-03-06 16:25:29 +00:00
services OVO External Networks 2017-03-07 20:03:30 +00:00
tests Remove recursion from import_modules_recursively 2016-09-30 21:48:50 +00:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
_test_extension_portbindings.py Spin off context module 2017-03-06 16:25:29 +00:00
dummy_plugin.py Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00
extension_stubs.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00
test_auth.py Fix params order in assertEqual 2016-01-13 18:24:04 +05:30
test_manager.py neutron-lib: use CORE from neutron lib constants 2016-12-26 00:56:42 -08:00
test_opts.py Fix the sriov agent config group name 2016-05-05 16:16:08 +08:00
test_policy.py Spin off context module 2017-03-06 16:25:29 +00:00
test_service.py Fix that api_workers=0 doesn't spawn any api workers 2016-07-29 05:40:05 -04:00
test_worker.py Move AgentStatusCheckWorker to PeriodicWorker 2016-11-17 15:31:19 -08:00
test_wsgi.py Get rid of get_engine() in db/api.py 2016-08-12 15:48:17 +03:00
testlib_api.py TrivialFix: Do not use synchronous_reader argument 2017-03-10 16:37:01 +00:00