Skip to content

Commit

Permalink
Merge tag '0.0.2' into develop
Browse files Browse the repository at this point in the history
Added lots of updates and minor work on the cli
  • Loading branch information
SeedyROM committed Oct 2, 2018
2 parents ac7c276 + d5be779 commit a291321
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion necromancer/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

def runner():
''' parse args then call the right function '''
args = docopt(__doc__, version='necro 0.0.1', options_first=True)
args = docopt(__doc__, version='necro 0.0.2', options_first=True)

argv = [args['<command>'], *args['<args>']]

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setuptools.setup(
name='necromancer',
version=Version('0.0.1').number,
version=Version('0.0.2').number,
description='Python Package Boilerplate',
long_description=open('README.md').read().strip(),
author='Chris Hayden and Zack Kollar',
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
class TestVersion(unittest.TestCase):

def test_set_version(self):
ver = Version("0.0.1")
self.assertEqual(ver.number, "0.0.1")
ver = Version("0.0.2")
self.assertEqual(ver.number, "0.0.2")

def test_version_immutable(self):
ver = Version("0.0.1")
ver = Version("0.0.2")
with pytest.raises(TypeError) as e:
ver.number = "0.0.2"

0 comments on commit a291321

Please sign in to comment.