diff options
author | Moshe <moshehoa@amdocs.com> | 2018-03-26 13:54:47 +0300 |
---|---|---|
committer | Moshe <moshehoa@amdocs.com> | 2018-03-26 13:54:56 +0300 |
commit | 4391bbd783c9ca51eef7883b61292ff1b1beba7c (patch) | |
tree | 4a60c271553c42363c808527fe59d7ac66522362 /tests | |
parent | ea90f9ba9d0e317dfc5521dda9946844b7336abd (diff) |
Add unit tests to improve coverage
Issue-ID: VNFSDK-183
Change-Id: I26d2412d3fcfd25431722a3da7cb40b23e2a98b4
Signed-off-by: Moshe <moshehoa@amdocs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/__init__.py | 0 | ||||
-rw-r--r-- | tests/unit/test_yaml_loader.py | 34 |
2 files changed, 0 insertions, 34 deletions
diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/tests/unit/__init__.py +++ /dev/null diff --git a/tests/unit/test_yaml_loader.py b/tests/unit/test_yaml_loader.py deleted file mode 100644 index 361f1f7..0000000 --- a/tests/unit/test_yaml_loader.py +++ /dev/null @@ -1,34 +0,0 @@ -############################################################################## -# Copyright 2018 EuropeanSoftwareMarketingLtd. -# =================================================================== -# Licensed under the ApacheLicense, Version2.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 -# -# 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 -############################################################################## -# vnftest comment: this is a modified copy of -# yardstick/tests/unit/common/test_yaml_loader.py - -from __future__ import absolute_import -import unittest - -from vnftest.common import yaml_loader - - -class TemplateFormatTestCase(unittest.TestCase): - - def test_parse_to_value_exception(self): - - self.assertEquals(yaml_loader.yaml_load("string"), u"string") - - -def main(): - unittest.main() - -if __name__ == '__main__': - main() |