Undefined built-in django steps

11 views
Skip to first unread message

Крошкин В.И.

unread,
Jul 10, 2016, 7:11:00 PM7/10/16
to Lettuce Users
I have model :Mymodel
I wrote feature: 
Feature: Win over lettuce

Scenario: Search hidden steps
Given Visit in the "db.com"
Then Mymodel should be present in the database
| name | value |
| Lettuce | Rocks |
I wrote step:
@step('Visit in the (.*)')
def visit_in_the(step, url):
pass
I execute lettuce nameMyFeature.feature in console
 Then Mymodel should be present in the database  - it's Undefined
What is correct usage of  this?
Reply all
Reply to author
Forward
0 new messages