Skip to content

Commit 35bb42c

Browse files
committedOct 18, 2018
add main check back to unittests
1 parent ace53f7 commit 35bb42c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""DataParserLib Install Script"""
22
# coding=utf-8
3-
43
import json
54
from setuptools import setup, find_packages
65

‎tests/test_dict_parse.py

+3
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ def test_flatten_dictionary_parser(self):
2525
flat_project_data = flatten_dictionary(self.dictionary_data)
2626
self.assertEqual(flat_project_data["report"]["testinfo.project_name"], "test")
2727

28+
29+
if __name__ == '__main__':
30+
unittest.main(verbosity=2)

0 commit comments

Comments
 (0)
Please sign in to comment.