Merge lp:~bregma/unity-scope-guayadeque/lp-1229028 into lp:unity-scope-guayadeque

Proposed by Stephen M. Webb
Status: Merged
Approved by: Stephen M. Webb
Approved revision: 32
Merged at revision: 32
Proposed branch: lp:~bregma/unity-scope-guayadeque/lp-1229028
Merge into: lp:unity-scope-guayadeque
Diff against target: 12 lines (+1/-1)
1 file modified
tests/test_guayadeque.py (+1/-1)
To merge this branch: bzr merge lp:~bregma/unity-scope-guayadeque/lp-1229028
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
David Callé Approve
Review via email: mp+187030@code.launchpad.net

Commit message

fixed testcase failure with traceback (lp: #1229028)

Description of the change

= Problem description =

Package fails to build during autolanding run because tests fail to run.

= The fix =

Pass an empty metatdata dictionary to the search context creation instead of a None.

= Test coverage =

Running existing tests pass instead of issuing a traceback.

To post a comment you must log in.
Revision history for this message
David Callé (davidc3) wrote :

+1

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'tests/test_guayadeque.py'
--- tests/test_guayadeque.py 2013-05-29 20:48:56 +0000
+++ tests/test_guayadeque.py 2013-09-23 13:55:12 +0000
@@ -24,7 +24,7 @@
24 def perform_query(self, query, filter_set = Unity.FilterSet.new()):24 def perform_query(self, query, filter_set = Unity.FilterSet.new()):
25 result_set = ResultSet()25 result_set = ResultSet()
26 ctx = Unity.SearchContext.create(query, 0, filter_set,26 ctx = Unity.SearchContext.create(query, 0, filter_set,
27 None, result_set, None)27 {}, result_set, None)
28 s = self.scope.create_search_for_query(ctx)28 s = self.scope.create_search_for_query(ctx)
29 s.run()29 s.run()
30 return result_set30 return result_set

Subscribers

People subscribed via source and target branches

to all changes: