Skip to content

Commit

Permalink
Merge pull request #340 from pycontribs/fix/various
Browse files Browse the repository at this point in the history
Fixing missing jirashell entry point
  • Loading branch information
ssbarnea authored Feb 10, 2017
2 parents 6bd2065 + 8f16cb8 commit 35d2900
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
JIRA Python Library
===================

.. image:: https://img.shields.io/pypi/pyversions/jira.svg
.. image:: https://img.shields.io/pypi/v/jira.svg
:target: https://pypi.python.org/pypi/jira/

.. image:: https://img.shields.io/pypi/l/jira.svg
Expand Down
5 changes: 3 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifier =
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Internet :: WWW/HTTP

Expand All @@ -36,8 +37,8 @@ packages =
jira

[entry_points]
pbr.config.drivers =
plain = pbr.cfg.driver:Plain
console_scripts =
jirashell = jira.jirashell:main

[egg_info]
egg_base = .
Expand Down
7 changes: 7 additions & 0 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2097,6 +2097,13 @@ def test_remove_user_from_group(self):
self.jira.delete_user(self.test_username)


class JiraShellTests(unittest.TestCase):

def test_jirashell_command_exists(self):
result = os.system('jirashell --help')
self.assertEqual(result, 0)


if __name__ == '__main__':

# when running tests we expect various errors and we don't want to display them by default
Expand Down

0 comments on commit 35d2900

Please sign in to comment.