← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~cjwatson/launchpad/testfix-snap-canonicalise-git-path into lp:launchpad

 

Colin Watson has proposed merging lp:~cjwatson/launchpad/testfix-snap-canonicalise-git-path into lp:launchpad.

Commit message:
Fix test_edit_snap to account for text change in GitRefWidget.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/testfix-snap-canonicalise-git-path/+merge/270734

Fix test_edit_snap to account for text change in GitRefWidget.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~cjwatson/launchpad/testfix-snap-canonicalise-git-path into lp:launchpad.
=== modified file 'lib/lp/snappy/browser/tests/test_snap.py'
--- lib/lp/snappy/browser/tests/test_snap.py	2015-09-07 15:29:00 +0000
+++ lib/lp/snappy/browser/tests/test_snap.py	2015-09-10 20:11:51 +0000
@@ -165,7 +165,7 @@
         browser.getControl("Git", index=0).click()
         browser.getControl("Git repository").value = (
             new_git_ref.repository.identity)
-        browser.getControl("Git branch path").value = new_git_ref.path
+        browser.getControl("Git branch").value = new_git_ref.path
         browser.getControl("Update snap package").click()
 
         content = find_main_content(browser.contents)