aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_trapd_settings.py
diff options
context:
space:
mode:
authorSrikanthNaidu <sn8492@att.com>2018-12-10 21:46:40 +0530
committerSrikanthNaidu <sn8492@att.com>2018-12-12 18:45:52 +0530
commit20110ffeb5071193e7b437e797636d9d6318dcd4 (patch)
treeebd4e64715f4cafc7261b2eff9990e4faa53d050 /tests/test_trapd_settings.py
parent5712f01385eaa05178279aa7e730b3bdde3d1b80 (diff)
Heartbeat Microservice Support
Heartbeat service monitors missing HB notification Issue-ID: DCAEGEN2-267 Change-Id: I21f36056e9509a167bff476231a6bbd661aca1b9 Signed-off-by: SrikanthNaidu <sn8492@att.com>
Diffstat (limited to 'tests/test_trapd_settings.py')
-rw-r--r--tests/test_trapd_settings.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/test_trapd_settings.py b/tests/test_trapd_settings.py
index 17b20a8..05b4449 100644
--- a/tests/test_trapd_settings.py
+++ b/tests/test_trapd_settings.py
@@ -1,6 +1,6 @@
import pytest
import unittest
-import trapd_exit
+import test_trapd_exit
pid_file="/tmp/test_pid_file"
pid_file_dne="/tmp/test_pid_file_NOT"
@@ -36,7 +36,6 @@ class test_cleanup_and_exit(unittest.TestCase):
result = True
except:
result = False
-
self.assertEqual(result, True)
def test_dns_cache_ip_to_name(self):
@@ -50,7 +49,6 @@ class test_cleanup_and_exit(unittest.TestCase):
result = True
except:
result = False
-
self.assertEqual(result, True)
def test_dns_cache_ip_expires(self):
@@ -64,9 +62,8 @@ class test_cleanup_and_exit(unittest.TestCase):
result = True
except:
result = False
-
self.assertEqual(result, True)
-if __name__ == '__main__':
+#if __name__ == '__main__':
# tds.init()
- unittest.main()
+# unittest.main()