Passed
Push — master ( 19142d...b8daaf )
by Joe
01:31
created

smoke   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 8
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 3

1 Function

Rating   Name   Duplication   Size   Complexity  
A step_impl() 0 3 2
1
from behave import when, then
2
3
4
@when(u'I visit the homepage')
5
def step_impl(context):
6
    context.get_browser().visit(context.remote_url)
7
8
9
@then(u'the page should load')
10
def step_impl(context):
11
    assert context.get_browser().status_code.is_success()
12