-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fail to run initial behave and test error #945
Comments
I recently encountered this error when
What kind of error do you get in
|
I started a fresh terminal after setting the lines to The output of running
Thanks for the help. |
After changing |
@igncampa I got it, you're running tests from the wrong directory. To run tests:
to run behave tests:
That |
Thank you, @j-bennet. You were right on both cases! Looking forward to contributing some code! |
Description
I pulled the repo to my machine and followed the contributing guide. Running behave and py.test both gave me an error:
behave command gives the following error:
also running py.test one of the tests fails:
test_naive_completion.py:65: AssertionError
in case it matters, on my pg_hba.conf I have:
local all postgres trust
Your environment
Please provide your OS and version information.
Description: Ubuntu 18.04.1 LTS
Please provide your CLI version.
psql (PostgreSQL) 10.5 (Ubuntu 10.5-1.pgdg18.04+1)
What is the output of
pip freeze
command.autopep8==1.3.3
behave==1.2.6
certifi==2018.8.24
chardet==3.0.4
cli-helpers==1.0.2
click==6.7
codecov==2.0.15
colorama==0.3.9
configobj==5.0.6
coverage==4.3.4
docformatter==1.0
docutils==0.14
humanize==0.5.1
idna==2.7
mock==2.0.0
parse==1.8.4
parse-type==0.4.2
pbr==4.2.0
pep8radius==0.9.2
pexpect==3.3
-e [email protected]:igncampa/pgcli.git@d3bdb89#egg=pgcli
pgspecial==1.11.2
pkg-resources==0.0.0
pkginfo==1.4.2
pluggy==0.7.1
prompt-toolkit==1.0.15
psycopg2==2.7.5
psycopg2-binary==2.7.5
py==1.6.0
pycodestyle==2.4.0
Pygments==2.2.0
pytest==3.0.7
requests==2.19.1
requests-toolbelt==0.8.0
setproctitle==1.1.10
six==1.11.0
sqlparse==0.2.4
tabulate==0.8.2
terminaltables==3.1.0
toml==0.9.6
tox==3.4.0
tqdm==4.26.0
twine==1.11.0
untokenize==0.1.1
urllib3==1.23
virtualenv==16.0.0
wcwidth==0.1.7
yapf==0.24.0
The text was updated successfully, but these errors were encountered: