Skip to content

Commit

Permalink
Merge branch 'hotfix/fixed_tests'
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Sonne committed Jun 26, 2017
2 parents 0dd9562 + 331223b commit 298b3f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unittest/python/clicfg_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_writeexistinginstall(self, super_write):

setup.add_section.assert_not_called()
setup.set.assert_called_once_with('install', 'prefix', '')
m.assert_called_once_with('temp')
m.assert_called_once_with('temp', 'w')

@patch('ConfigParser.ConfigParser.write')
def test_writemissinginstall(self, super_write):
Expand All @@ -69,4 +69,4 @@ def test_writemissinginstall(self, super_write):

setup.add_section.assert_called_once_with('install')
setup.set.assert_called_once_with('install', 'prefix', '')
m.assert_called_once_with('temp')
m.assert_called_once_with('temp', 'w')

0 comments on commit 298b3f5

Please sign in to comment.