Explicit import in scenario steps

This commit is contained in:
Guewen Baconnier
2014-10-30 15:11:28 +01:00
parent eacce6df1b
commit ba48a2a086
3 changed files with 4 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
# flake8: noqa
import time
from behave import given, when
from support import model
from support import model, assert_equal
@given(u'I configure the following accounts on the credit control policy with oid: "{policy_oid}"')
def impl(ctx, policy_oid):

View File

@@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
from support import model, assert_equal, assert_in, assert_true
# flake8: noqa
@given(u'I change level for invoice "{invoice_name}" to "{level_name}" of policy "{policy_name}"')
def impl(ctx, invoice_name, level_name, policy_name):

View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# flake8: noqa
from support import *
from support import model, assert_equal, assert_almost_equal
import datetime