]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: Add unit test for fix command
authorBoris Ranto <branto@redhat.com>
Thu, 9 Feb 2017 18:17:12 +0000 (19:17 +0100)
committerBoris Ranto <branto@redhat.com>
Wed, 10 May 2017 16:03:01 +0000 (18:03 +0200)
commit2db2fc81835ea8d0b35f563dd09691b030c920e9
tree0d5d44ebe1c7afabc18f09643de9163759bd52a4
parent82764ca8e986c8efc31488f2b30d2a2706f9826c
ceph-disk: Add unit test for fix command

This will simulate the command* functions to not actually run anything
thus excercising the python code directly. It also checks that the
proper (sub-strings) are in the output.

Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 1ec53dee9a690134936bdc3a09c9a02fecf13a9d)
src/ceph-disk/tests/test_main.py