Skip to content

Commit

Permalink
Fix unittest with version.
Browse files Browse the repository at this point in the history
  • Loading branch information
alainivars committed Jul 1, 2019
1 parent da865cd commit c921c27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_get_long_description_from_file(self):
path = './docs/'
filename = 'version.py'
r = get_long_description_from_file(path, filename)
self.assertEqual(r, '__version__ = \'0.1.2\'')
self.assertEqual(r, '__version__ = \'0.1.4\'')
# fault
r = get_long_description_from_file(path, 'notExist')
self.assertEqual(
Expand All @@ -23,7 +23,7 @@ def test_get_long_description_from_file(self):
def test_get_version(self):
# nominal
r = get_version('./docs/')
self.assertEqual(r, '0.1.2')
self.assertEqual(r, '0.1.4')
# fault
r = get_version('notExist')
self.assertEqual(
Expand Down

0 comments on commit c921c27

Please sign in to comment.