diff options
author | 2020-05-20 15:18:41 +0100 | |
---|---|---|
committer | 2020-05-25 08:50:24 +0100 | |
commit | 5ed9b7d3cad56c6438bca305b6d2931bd320352b (patch) | |
tree | b05cbb4e7215e9b6b9aead2a1ae45d63330c0761 /components/pm-subscription-handler/tests/test_healthcheck.py | |
parent | 9a57e9a2e2357f267c6a7c804488011ac97beab5 (diff) |
[PMSH] Adding 'subscriptions' api endpoint
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I837045b3b618a98d4aabe190359d0ad47f27ca9f
Issue-ID: DCAEGEN2-2154
Diffstat (limited to 'components/pm-subscription-handler/tests/test_healthcheck.py')
-rwxr-xr-x | components/pm-subscription-handler/tests/test_healthcheck.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/components/pm-subscription-handler/tests/test_healthcheck.py b/components/pm-subscription-handler/tests/test_healthcheck.py deleted file mode 100755 index 1c40c3ff..00000000 --- a/components/pm-subscription-handler/tests/test_healthcheck.py +++ /dev/null @@ -1,27 +0,0 @@ -# ============LICENSE_START=================================================== -# Copyright (C) 2019-2020 Nordix Foundation. -# ============================================================================ -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# ============LICENSE_END===================================================== - -import unittest - -from mod.healthcheck import status - - -class HealthcheckTestCase(unittest.TestCase): - - def test_status_response_healthy(self): - self.assertEqual(status()['status'], 'healthy') |