]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: remove obsoleted simple unit test
authorAndrew Schoen <aschoen@redhat.com>
Thu, 7 Mar 2019 18:38:02 +0000 (12:38 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 8 Mar 2019 17:13:00 +0000 (11:13 -0600)
This test is no longer valid because `simple scan`
without any arguments will now attempt to scan all
running OSDs.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit b59dcd01c2dd386ca1b63eb66ed243afffb80211)

src/ceph-volume/ceph_volume/tests/devices/simple/test_scan.py

index 08ca37f669099fda532a0c09299d31b755083c0a..118493625f37a7f69377474d12060cff05a55a4b 100644 (file)
@@ -3,14 +3,6 @@ import pytest
 from ceph_volume.devices.simple import scan
 
 
-class TestScan(object):
-
-    def test_main_spits_help_with_no_arguments(self, capsys):
-        scan.Scan([]).main()
-        stdout, stderr = capsys.readouterr()
-        assert 'Scan an OSD directory (or data device) for files' in stdout
-
-
 class TestGetContents(object):
 
     def test_multiple_lines_are_left_as_is(self, tmpfile):