Test placeholder for dispersion_report module

This module was recently moved from bin/ and the execute bit stuck
around and wasn't imported by our test suite - which throws off
accountability in coverage reporting.

Remove the execute bit and add a placeholder unittest module.

Related-Change-Id: Ie0d52a1a54fc152bb72cbb3f84dcc36a8dad972a
Change-Id: Id9e678c2460cc889f682c5566a4418160db7878f
This commit is contained in:
Clay Gerrard 2017-09-13 09:58:10 -06:00
parent cbddec340e
commit 5622c1f959
2 changed files with 21 additions and 0 deletions

0
swift/cli/dispersion_report.py Executable file → Normal file
View File

View File

@ -0,0 +1,21 @@
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import unittest
from swift.cli import dispersion_report
class TestDispersionReport(unittest.TestCase):
def test_placeholder(self):
self.assertTrue(callable(dispersion_report.main))