What platform are you using? Fedora? What version of tox? I'm using
the system rpm tox python3-tox-3.13.2-3.fc31.noarch on Fedora 31
On 3/17/20 8:37 AM, Shreyas Papinwar wrote:
Yes, I am getting the exact same error.
Please help!
On Tue, Mar 17, 2020, 7:47 PM Harsh Jain <harshjain075(a)gmail.com
<mailto:harshjain075@gmail.com>> wrote:
Hey Rich,
I cloned the repo and tried running tox and I'm getting the
following error when this executes:
py37 run-test: commands[0] | bash
/home/x/Packages/network-roles/network/.travis/runpytest.sh
/home/x/Packages/network-roles/network/.tox/env-3.7/bin/python
--durations=5 --cov=/home/x/Packages/network-roles/network/library
--cov=/home/x/Packages/network-roles/network/module_utils
--cov-report=html:htmlcov-py37 --cov-report=term unit
+ /usr/bin/python3.7 -m pytest --durations=5
--cov=/home/x/Packages/network-roles/network/library
--cov=/home/x/Packages/network-roles/network/module_utils
--cov-report=html:htmlcov-py37 --cov-report=term unit
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments:
--cov=/home/x/Packages/network-roles/network/library
--cov=/home/x/Packages/network-roles/network/module_utils
--cov-report=html:htmlcov-py37 --cov-report=term
inifile: /home/x/Packages/network-roles/network/tox.ini
rootdir: /home/x/Packages/network-roles/network
ERROR: InvocationError for command /usr/bin/bash
/home/x/Packages/network-roles/network/.travis/runpytest.sh
/home/x/Packages/network-roles/network/.tox/env-3.7/bin/python
--durations=5 --cov=/home/x/Packages/network-roles/network/library
--cov=/home/x/Packages/network-roles/network/module_utils
--cov-report=html:htmlcov-py37 --cov-report=term unit (exited with
code 4)
These are the versions of everything related
py37 installed:
attrs==19.3.0,coverage==5.0.3,importlib-metadata==1.5.0,more-itertools==8.2.0,packaging==20.3,pluggy==0.13.1,py==1.8.1,pyparsing==2.4.6,pytest==5.4.1,pytest-cov==2.8.1,six==1.14.0,wcwidth==0.1.8,zipp==3.1.0
os: fedora 31
python 3.7.6
tox:3.14.5
I can't figure out how to resolve this, could you help me please?
Thanks,
Harsh
On Mon, Mar 16, 2020 at 6:52 PM Rich Megginson <rmeggins(a)redhat.com
<mailto:rmeggins@redhat.com>> wrote:
On 3/15/20 1:17 AM, Harsh Jain wrote:
> Hey,
> I'm a CSE undergraduate (currently in second year) and am
pretty excited
> to work on the network role and I'm looking forward to
working with
> everyone .
> I've mostly been trying to help with setting up the Pantheon
de ,but I
> thought this would be a good opportunity to learn about other
things and
> automation and testing intrigue me .
> Again, looking forward to working with everyone
Welcome! I suggest to take a look at
https://github.com/linux-system-roles/network/wiki#first-steps
e.g. see
if you can clone the repo and get the `tox` based tests working.
> Thanks,
> Harsh
>
>
> _______________________________________________
> systemroles mailing list --
systemroles(a)lists.fedorahosted.org
<mailto:systemroles@lists.fedorahosted.org>
> To unsubscribe send an email to
systemroles-leave(a)lists.fedorahosted.org
<mailto:systemroles-leave@lists.fedorahosted.org>
> Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
https://lists.fedorahosted.org/archives/list/systemroles@lists.fedorahost...
>
_______________________________________________
systemroles mailing list -- systemroles(a)lists.fedorahosted.org
<mailto:systemroles@lists.fedorahosted.org>
To unsubscribe send an email to
systemroles-leave(a)lists.fedorahosted.org
<mailto:systemroles-leave@lists.fedorahosted.org>
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/systemroles@lists.fedorahost...
_______________________________________________
systemroles mailing list -- systemroles(a)lists.fedorahosted.org
<mailto:systemroles@lists.fedorahosted.org>
To unsubscribe send an email to
systemroles-leave(a)lists.fedorahosted.org
<mailto:systemroles-leave@lists.fedorahosted.org>
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/systemroles@lists.fedorahost...