Files
monasca-api/monasca_log_api_code/tests/test_version.py
Adrian Czarnecki 53f783b695 Add monasca-log-api source code
It is another step towards merging this two api

Story: 2003881
Task: 30532
Change-Id: Icc6460e3a136294462f5ceefdba1751187eb2363
2019-07-12 11:44:15 +00:00

23 lines
792 B
Python

# Copyright 2017 FUJITSU LIMITED
#
# 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.
from monasca_log_api import version
from monasca_log_api.tests import base
class TestAppVersion(base.BaseTestCase):
def test_should_report_version(self):
self.assertIsNotNone(version.version_str)