Skip to content

Commit 2167dbf

Browse files
committed
Revert ab79732 because it breaks the example Features
1 parent c0377c2 commit 2167dbf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

features/steps/base.py

-7
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,10 @@ def impl(ctx):
2424
@step('I execute the Python commands')
2525
def impl(ctx):
2626
assert_true(ctx.text)
27-
assert_false(ctx.mock_smtp.sendmail.called)
2827
env = globals().copy()
2928
env['client'] = ctx.client
3029
env['ctx'] = ctx
3130
exec ctx.text in env
32-
if ctx.mock_smtp.sendmail.called:
33-
# This phrase is used for migration: we don't want to verify
34-
# e-mail notifications
35-
for (args, _) in ctx.mock_smtp.sendmail.call_args_list:
36-
puts(u'Mail from "%s" to "%s"' % (args[0], u','.join(args[1])))
37-
ctx.mock_smtp.reset_mock()
3831

3932

4033
@step('I execute the SQL commands')

0 commit comments

Comments
 (0)