You need to pip install the test requirements as well. On Nov 6, 2017 4:15 AM, "Jae Kim" <[email protected]> wrote:
> I had executed >> >> > >> . hacking/env-setup >> >> And then I executed > pytest -r a --fulltrace --color yes ./mymoduletest/my_new_test_ > module.py > ============================= test session starts > ============================== > platform linux -- Python 3.4.5, pytest-3.2.3, py-1.4.34, pluggy-0.4.0 > rootdir: /root/work, inifile: > collected 0 items > > ========================= no tests ran in 0.01 seconds > ========================= > > But when I execute > pytest -r a --cov=. --cov-report=html --fulltrace --color yes > ./mymoduletest/my_new_test_module.py > I get > pytest: error: unregnoized arguements: --cov=. --cov-report=html > infile: None > rootdir: /root/work > > > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/ansible-project/e4959aba-0a7c-49d1-8995-4a4d1260a47e%40googlegroups. > com > <https://groups.google.com/d/msgid/ansible-project/e4959aba-0a7c-49d1-8995-4a4d1260a47e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAPrnkaQzTvTVEU_7UN1qc0aZGyiDoeQMp6Wfbogm0Q9f9%3DxmPA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
