Merge lp:~camptocamp/oerpscenario/add-count-items-lep into lp:oerpscenario

Proposed by Leonardo Pistone
Status: Merged
Merged at revision: 332
Proposed branch: lp:~camptocamp/oerpscenario/add-count-items-lep
Merge into: lp:oerpscenario
Diff against target: 11 lines (+4/-0)
1 file modified
features/steps/dsl.py (+4/-0)
To merge this branch: bzr merge lp:~camptocamp/oerpscenario/add-count-items-lep
Reviewer Review Type Date Requested Status
Nicolas Bessi - Camptocamp (community) Approve
Yannick Vaucher @ Camptocamp Approve
Review via email: mp+223353@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

LGTM

review: Approve
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

LGTM,

Thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'features/steps/dsl.py'
2--- features/steps/dsl.py 2014-02-14 07:55:43 +0000
3+++ features/steps/dsl.py 2014-06-17 08:22:22 +0000
4@@ -334,3 +334,7 @@
5 ir_value_obj = model('ir.values')
6 value = eval(value)
7 ir_value_obj.set_default(modelname, column, value, company_id=company_id)
8+
9+@step('I have {num_items:d} items')
10+def impl(ctx, num_items):
11+ assert_equal(len(ctx.found_items), num_items)

Subscribers

People subscribed via source and target branches

to all changes: