Merge lp:~frankban/charms/precise/juju-gui/ftests-fixes into lp:~juju-gui/charms/precise/juju-gui/trunk
Proposed by
Francesco Banconi
Status: | Merged |
---|---|
Merged at revision: | 88 |
Proposed branch: | lp:~frankban/charms/precise/juju-gui/ftests-fixes |
Merge into: | lp:~juju-gui/charms/precise/juju-gui/trunk |
Diff against target: |
45 lines (+4/-4) 4 files modified
revision (+1/-1) tests/deploy.py (+1/-1) tests/requirements.pip (+1/-1) tests/test_deploy.py (+1/-1) |
To merge this branch: | bzr merge lp:~frankban/charms/precise/juju-gui/ftests-fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
charmers | Pending | ||
Review via email: mp+179196@code.launchpad.net |
Description of the change
Fix charm functional tests.
Updated Selenium to the last version: it includes
a fix for Firefox 23.
Also updated the force-machine test: use the new
--to juju-core option.
To post a comment you must log in.
Reviewers: mp+179196_ code.launchpad. net,
Message:
Please take a look.
Description:
Fix charm functional tests.
Updated Selenium to the last version: it includes
a fix for Firefox 23.
Also updated the force-machine test: use the new
--to juju-core option.
https:/ /code.launchpad .net/~frankban/ charms/ precise/ juju-gui/ ftests- fixes/+ merge/179196
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/12665043/
Affected files: nts.pip deploy. py
A [revision details]
M revision
M tests/deploy.py
M tests/requireme
M tests/test_
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: revision
=== modified file 'revision'
--- revision 2013-08-05 15:00:27 +0000
+++ revision 2013-08-08 13:09:10 +0000
@@ -1,1 +1,1 @@
-66
+67
Index: tests/deploy.py
config_ file = make_charm_ config_ file({charm: options})
args. extend( ['--config' , config_file.name]) ['--force- machine' , str(force_ machine) ]) ['--to' , str(force_ machine) ]) append( 'local: {}/{}'. format( series, charm)) 'expose' , charm)
=== modified file 'tests/deploy.py'
--- tests/deploy.py 2013-06-12 09:07:29 +0000
+++ tests/deploy.py 2013-08-08 13:09:10 +0000
@@ -68,7 +68,7 @@
if force_machine is not None:
- args.extend(
+ args.extend(
args.
juju(*args)
juju(
Index: tests/requireme nts.pip requirements. pip' nts.pip 2013-07-19 14:25:55 +0000 nts.pip 2013-08-08 13:09:10 +0000 launchpad. net/python- shelltoolbox# egg=python- shelltoolbox =0.2.2
=== modified file 'tests/
--- tests/requireme
+++ tests/requireme
@@ -23,7 +23,7 @@
python-apt==0.8.5
-e bzr+http://
PyYAML==3.10
-selenium==2.33.0
+selenium==2.34.0
Tempita==0.5.1
tornado==3.1
xvfbwrapper=
Index: tests/test_ deploy. py test_deploy. py' deploy. py 2013-06-12 09:07:29 +0000 deploy. py 2013-08-08 13:53:54 +0000
expected_ deploy_ call = mock.call(
'deploy' ,
'--repository' , self.repo,
self.local_ charm,
deploy_ call = self.call_ deploy( force_machine= 42)
=== modified file 'tests/
--- tests/test_
+++ tests/test_
@@ -169,7 +169,7 @@
- '--force-machine', '42',
+ '--to', '42',
)