test_ubiquiti_edgeswitch.sh 332 B

123456789101112
  1. #!/bin/sh
  2. RETURN_CODE=0
  3. # Exit on the first test failure and set RETURN_CODE = 1
  4. echo "Starting tests...good luck:" \
  5. && echo "Ubiquiti EdgeSwitch" \
  6. && py.test -v test_netmiko_show.py --test_device ubiquiti_edgeswitch \
  7. && py.test -v test_netmiko_config.py --test_device ubiquiti_edgeswitch \
  8. || RETURN_CODE=1
  9. exit $RETURN_CODE