1
1
mirror of https://github.com/dbcli/pgcli.git synced 2024-08-17 01:30:30 +03:00

Fixed failing test.

This commit is contained in:
Irina Truong 2017-03-19 16:57:47 -07:00
parent 8b1b486871
commit 5fdcb889bd
3 changed files with 8 additions and 0 deletions

View File

@ -85,3 +85,8 @@ def after_scenario(context, _):
if hasattr(context, 'cli') and not context.exit_sent: if hasattr(context, 'cli') and not context.exit_sent:
# Terminate nicely. # Terminate nicely.
context.cli.terminate() context.cli.terminate()
# TODO: uncomment to debug a failure
# def after_step(context, step):
# if step.status == "failed":
# import ipdb; ipdb.set_trace()

View File

@ -1,4 +1,5 @@
# -*- coding: utf-8 # -*- coding: utf-8
from __future__ import unicode_literals
import os import os
import wrappers import wrappers

View File

@ -1,4 +1,6 @@
# -*- coding: utf-8 # -*- coding: utf-8
from __future__ import unicode_literals
import re import re