Skip to content

Commit

Permalink
Merge pull request #8 from fosslight/develop
Browse files Browse the repository at this point in the history
Modify Help Message
  • Loading branch information
bjk7119 authored May 13, 2021
2 parents 3dddb73 + 92e6f75 commit 77fdcb8
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 20 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
if __name__ == "__main__":
setup(
name='fosslight_util',
version='1.0.5',
version='1.0.6',
package_dir={"": "src"},
packages=find_packages(where='src'),
description='FOSSLight Util',
Expand Down
19 changes: 0 additions & 19 deletions src/fosslight_util/_help.py

This file was deleted.

18 changes: 18 additions & 0 deletions tests/test_help.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2021 LG Electronics Inc.
# SPDX-License-Identifier: Apache-2.0
from fosslight_util.help import PrintHelpMsg


def main():
_HELP_MESSAGE_TEST = """
Usage Test [Test] <Test>
Test Test Test
"""
helpMsg = PrintHelpMsg(_HELP_MESSAGE_TEST)
helpMsg.print_help_msg()

if __name__ == '__main__':
main()
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ setenv =
PYTHONPATH=.

commands =
# Test - print help msg
python tests/test_help.py
# Test - logging
python tests/test_log.py
ls test_result
Expand Down

0 comments on commit 77fdcb8

Please sign in to comment.