Commit 1fa88aa6 authored by Thomas Thrainer's avatar Thomas Thrainer
Browse files

Move cmdlib-related unittests to cmdlib/



ganeti.cmdlib_unittest.py and
ganeti.cmdlib.instance_storage_unittest.py are moved to the
test/py/cmdlib directory. Also, they are renamed to match the names in
this module.

Additionally, instance_storage_unittest.py was added to the makefile, so
it's executed automatically during builds.

cmdlib_unittest.py now still contains tests from various cmdlib modules.
As soon as individual test files for those modules are added, those
tests should be move there.
Signed-off-by: default avatarThomas Thrainer <thomasth@google.com>
Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
parent e0b8df13
......@@ -1240,6 +1240,8 @@ python_tests = \
doc/examples/rapi_testutils.py \
test/py/cmdlib/cluster_unittest.py \
test/py/cmdlib/test_unittest.py \
test/py/cmdlib/cmdlib_unittest.py \
test/py/cmdlib/instance_storage_unittest.py \
test/py/cfgupgrade_unittest.py \
test/py/docs_unittest.py \
test/py/ganeti.asyncnotifier_unittest.py \
......@@ -1250,9 +1252,6 @@ python_tests = \
test/py/ganeti.client.gnt_cluster_unittest.py \
test/py/ganeti.client.gnt_instance_unittest.py \
test/py/ganeti.client.gnt_job_unittest.py \
test/py/ganeti.cmdlib_unittest.py \
test/py/ganeti.cmdlib.cluster_unittest.py \
test/py/ganeti.cmdlib.instance_storage_unittest.py \
test/py/ganeti.compat_unittest.py \
test/py/ganeti.confd.client_unittest.py \
test/py/ganeti.config_unittest.py \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment