]> git.puffer.fish Git - mirror/frr.git/commit
template: allow test to be run without pytest
authorRafael Zalamena <rzalamena@gmail.com>
Thu, 29 Jun 2017 13:46:19 +0000 (10:46 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Nov 2018 01:22:11 +0000 (20:22 -0500)
commitb06e9eff759fdfc3591ed8c0336879b4609bbf98
tree75d35a8c5fafbecb27ce596ac0972f37237d6c04
parenta40daddc4c7c3e0f30f2a136a9ae9165e351bcdc
template: allow test to be run without pytest

Update the PYTHONPATH for standalone runs and pass all command line
arguments to pytest main. Also set the executable bit to the python
scripts file.
tests/topotests/example-test/__init__.py [changed mode: 0644->0755]
tests/topotests/example-test/test_template.py [changed mode: 0644->0755]