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

Proposed by Stephen M. Webb
Status: Merged
Approved by: Stephen M. Webb
Approved revision: 38
Merged at revision: 38
Proposed branch: lp:~bregma/unity-scope-audacious/lp-1229028
Merge into: lp:unity-scope-audacious
Diff against target: 12 lines (+1/-1)
1 file modified
tests/test_audacious.py (+1/-1)
To merge this branch: bzr merge lp:~bregma/unity-scope-audacious/lp-1229028
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
David Callé Approve
Review via email: mp+187031@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_audacious.py'
--- tests/test_audacious.py 2013-04-22 15:34:22 +0000
+++ tests/test_audacious.py 2013-09-23 13:55:13 +0000
@@ -25,7 +25,7 @@
25 def perform_query(self, query, filter_set=Unity.FilterSet.new()):25 def perform_query(self, query, filter_set=Unity.FilterSet.new()):
26 result_set = ResultSet()26 result_set = ResultSet()
27 ctx = Unity.SearchContext.create(query, 0, filter_set,27 ctx = Unity.SearchContext.create(query, 0, filter_set,
28 None, result_set, None)28 {}, result_set, None)
29 s = self.scope.create_search_for_query(ctx)29 s = self.scope.create_search_for_query(ctx)
30 s.run()30 s.run()
31 return result_set31 return result_set

Subscribers

People subscribed via source and target branches

to all changes: