Merge lp:~thomir/unity/fix-failing-command-lens-test into lp:unity

Proposed by Thomi Richards on 2012-04-19
Status: Merged
Approved by: Brandon Schaefer on 2012-04-19
Approved revision: 2312
Merged at revision: 2312
Proposed branch: lp:~thomir/unity/fix-failing-command-lens-test
Merge into: lp:unity
Diff against target: 12 lines (+1/-1)
1 file modified
tests/autopilot/autopilot/tests/test_command_lens.py (+1/-1)
To merge this branch: bzr merge lp:~thomir/unity/fix-failing-command-lens-test
Reviewer Review Type Date Requested Status
Brandon Schaefer (community) 2012-04-19 Approve on 2012-04-19
Review via email: mp+102618@code.launchpad.net

Commit Message

Fixed a failing test in the command_lens test suite.

Description of the Change

Fixed a test in the command lens test suite. Somehow in the recent porting the test assertion was inverted.

To post a comment you must log in.
Brandon Schaefer (brandontschaefer) wrote :

Looks good! +1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/autopilot/tests/test_command_lens.py'
2--- tests/autopilot/autopilot/tests/test_command_lens.py 2012-04-17 21:21:25 +0000
3+++ tests/autopilot/autopilot/tests/test_command_lens.py 2012-04-19 03:46:26 +0000
4@@ -33,7 +33,7 @@
5
6 self.assertThat(self.dash.search_string, Eventually(Equals("")))
7 results_category = command_lens.get_category_by_name("Results")
8- self.assertThat(results_category.is_visible, Eventually(Equals(True)))
9+ self.assertThat(results_category.is_visible, Eventually(Equals(False)))
10
11 def test_results_category_appears(self):
12 """Results category must appear when there are some results."""