Skip to content

Instantly share code, notes, and snippets.

@rothsa
Created July 13, 2019 01:07
Show Gist options
  • Save rothsa/03c2503714432a08071960294f657f97 to your computer and use it in GitHub Desktop.
Save rothsa/03c2503714432a08071960294f657f97 to your computer and use it in GitHub Desktop.
tests run
(base) rothsa:boxmysql sally.lehman$ pytest tests/test_steps.py
======================================== test session starts ========================================
platform darwin -- Python 3.6.5, pytest-4.1.0, py-1.5.3, pluggy-0.9.0
rootdir: /Users/sally.lehman/boxmysql, inifile:
plugins: remotedata-0.3.1, openfiles-0.3.0, doctestplus-0.1.3, cov-2.6.1, arraydiff-0.2
collected 6 items
tests/test_steps.py .....F [100%]
============================================= FAILURES ==============================================
______________________________________ test_write_output_file _______________________________________
def test_write_output_file():
pass
> assert databases.write_output_file()
E assert None
E + where None = <bound method Databases.write_output_file of <boxmysql.steps.Databases object at 0x104922be0>>()
E + where <bound method Databases.write_output_file of <boxmysql.steps.Databases object at 0x104922be0>> = <boxmysql.steps.Databases object at 0x104922be0>.write_output_file
tests/test_steps.py:34: AssertionError
========================================= warnings summary ==========================================
tests/test_steps.py::test_write_output_file
/Users/sally.lehman/boxmysql/tests/test_steps.py:34: PytestWarning: asserting the value None, please use "assert is None"
assert databases.write_output_file()
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========================== 1 failed, 5 passed, 1 warnings in 0.06 seconds ===========================
(base) rothsa:boxmysql sally.lehman$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment