diff options
author | Ladue, David (dl3158) <dl3158@att.com> | 2018-03-29 15:00:54 -0400 |
---|---|---|
committer | Ladue, David (dl3158) <dl3158@att.com> | 2018-03-29 15:06:11 -0400 |
commit | 6702b5681314400cc59c516f4aa7b1d1bb27bba4 (patch) | |
tree | 562d24fd74828437b199f6c3e8ab8e0a9c711be1 /tests/test_trapd_runtime_pid.py | |
parent | 1ee2859001e6f5dd687a455672e88f2e73a56463 (diff) |
more pytest coverage
Change-Id: I665b032f4789ff7a3089d727f36c8e8500963497
Issue-ID: DCAEGEN2-271
Signed-off-by: Ladue, David (dl3158) <dl3158@att.com>
Diffstat (limited to 'tests/test_trapd_runtime_pid.py')
-rw-r--r-- | tests/test_trapd_runtime_pid.py | 2 |
1 files changed, 2 insertions, 0 deletions
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() |