From 6702b5681314400cc59c516f4aa7b1d1bb27bba4 Mon Sep 17 00:00:00 2001 From: "Ladue, David (dl3158)" Date: Thu, 29 Mar 2018 15:00:54 -0400 Subject: more pytest coverage Change-Id: I665b032f4789ff7a3089d727f36c8e8500963497 Issue-ID: DCAEGEN2-271 Signed-off-by: Ladue, David (dl3158) --- tests/test_trapd_runtime_pid.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/test_trapd_runtime_pid.py') diff --git a/tests/test_trapd_runtime_pid.py b/tests/test_trapd_runtime_pid.py index c48ef34..b9010e1 100644 --- a/tests/test_trapd_runtime_pid.py +++ b/tests/test_trapd_runtime_pid.py @@ -1,6 +1,7 @@ import pytest import unittest import trapd_runtime_pid +import trapd_io class test_save_pid(unittest.TestCase): """ @@ -43,5 +44,6 @@ class test_rm_pid(unittest.TestCase): result = trapd_runtime_pid.rm_pid('/tmp/snmptrap_test_pid_file_9999') self.assertEqual(result, False) + if __name__ == '__main__': unittest.main() -- cgit 1.2.3-korg