Index: tests/test_can.py =================================================================== diff -u -r8ea13ae6dd10732bfcc456798f4785c4d88c95d3 -r39cffcc77c7c0ce645325cf50cad65874b2bb096 --- tests/test_can.py (.../test_can.py) (revision 8ea13ae6dd10732bfcc456798f4785c4d88c95d3) +++ tests/test_can.py (.../test_can.py) (revision 39cffcc77c7c0ce645325cf50cad65874b2bb096) @@ -17,6 +17,11 @@ sys.path.append("..") from dialin.utils.base import setup_virtual_can_interface, setup_real_can_interface +resp = input("Setup virtual can interface? (y/n): ") +if resp.lower() == "y": + setup_virtual_can_interface() +else: + resp = input("Setup real can interface? (y,n): ") + if resp.lower() == "y": + setup_real_can_interface() -setup_virtual_can_interface() -