Merge lp:~frankban/juju-quickstart/osx-tests into lp:juju-quickstart
Proposed by
Francesco Banconi
Status: | Merged |
---|---|
Merged at revision: | 69 |
Proposed branch: | lp:~frankban/juju-quickstart/osx-tests |
Merge into: | lp:juju-quickstart |
Diff against target: |
14 lines (+1/-3) 1 file modified
quickstart/tests/test_utils.py (+1/-3) |
To merge this branch: | bzr merge lp:~frankban/juju-quickstart/osx-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email: mp+221513@code.launchpad.net |
Description of the change
Fix quickstart test failing on osx.
To post a comment you must log in.
Reviewers: mp+221513_ code.launchpad. net,
Message:
Please take a look.
Description:
Fix quickstart test failing on osx.
https:/ /code.launchpad .net/~frankban/ juju-quickstart /osx-tests/ +merge/ 221513
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/101970044/
Affected files (+3, -3 lines): tests/test_ utils.py
A [revision details]
M quickstart/
Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision:
<email address hidden>
Index: quickstart/ tests/test_ utils.py tests/test_ utils.py' tests/test_ utils.py 2014-04-23 12:20:35 +0000 tests/test_ utils.py 2014-05-30 09:23:00 +0000
self. assertNotEqual( 0, retcode)
self. assertEqual( '', output)
=== modified file 'quickstart/
--- quickstart/
+++ quickstart/
@@ -134,9 +134,7 @@
retcode, output, error = utils.call('ls', 'no-such-file')
- self.assertEqual(
- 'ls: cannot access no-such-file: No such file or directory\n',
- error)
+ self.assertIn('No such file or directory', error)
def test_invalid_ command( self):
# An error code and the error are returned if the subprocess fails
to