|
GLOB sdist-make: /home/vagrant/bot/setup.py |
|
py27 inst-nodeps: /home/vagrant/bot/.tox/dist/bot-1.0.1.zip |
|
py27 runtests: PYTHONHASHSEED='816699555' |
|
py27 runtests: commands[0] | python setup.py test |
|
running test |
|
running egg_info |
|
writing dependency_links to bot.egg-info/dependency_links.txt |
|
writing requirements to bot.egg-info/requires.txt |
|
writing bot.egg-info/PKG-INFO |
|
writing top-level names to bot.egg-info/top_level.txt |
|
writing dependency_links to bot.egg-info/dependency_links.txt |
|
writing requirements to bot.egg-info/requires.txt |
|
writing bot.egg-info/PKG-INFO |
|
writing top-level names to bot.egg-info/top_level.txt |
|
reading manifest file 'bot.egg-info/SOURCES.txt' |
|
writing manifest file 'bot.egg-info/SOURCES.txt' |
|
running build_ext |
|
ultrasonic.py | pypruss | 14 | INFO | Using fake pypruss module |
|
test_manual_confirm (tests.test_ir.TestSelectedUnitVal) |
|
Use the getter then confirm using simulated hardware. ... ERROR |
|
test_invalid (tests.test_lib.TestGetConfig) |
|
Test proper failure for fake config file. ... ERROR |
|
test_type (tests.test_lib.TestGetConfig) |
|
Confirm that type of config is a dict. ... ERROR |
|
test_type (tests.test_lib.TestGetLogger) |
|
Test that object returned is of proper type. ... ERROR |
|
test_invalid_config (tests.test_lib.TestSetTesting) |
|
Test passing an invalid path to the config file. ... ERROR |
|
test_invalid_state (tests.test_lib.TestSetTesting) |
|
Test passing a non-boolean value for state param. ... ERROR |
|
test_same (tests.test_lib.TestSetTesting) |
|
Test writing the current value of testing flag. ... ERROR |
|
ERROR |
|
test_modify_log_file (tests.test_lib.TestWriteConfig) |
|
Test writing a new log file then reverting that change. ... ERROR |
|
test_same (tests.test_lib.TestWriteConfig) |
|
Confirm that writing without changes produces no change. ... ERROR |
|
test_forward (tests.test_motor.TestDirection) |
|
Test motor in forward direction using text and int syntax. ... ERROR |
|
test_invalid (tests.test_motor.TestDirection) |
|
Test a series of invalid directions. ... ERROR |
|
test_reverse (tests.test_motor.TestDirection) |
|
Test motor in reverse direction using text and int syntax. ... ERROR |
|
test_get_dir (tests.test_motor.TestNoDirection) |
|
Get direction for a motor that should have no direction. ... ERROR |
|
test_set_dir (tests.test_motor.TestNoDirection) |
|
Test setting a direction for a motor that should have no direction. ... ERROR |
|
test_vol (tests.test_motor.TestNoDirection) |
|
Get velocity for a motor that has no direction. ... ERROR |
|
test_accel (tests.test_motor.TestSpeed) |
|
Test a series of increasing speeds. ... ERROR |
|
test_full (tests.test_motor.TestSpeed) |
|
Test turning the motor to 100% duty cycle. ... ERROR |
|
test_half (tests.test_motor.TestSpeed) |
|
Test the motor at half speed. ... ERROR |
|
test_manually_confirm (tests.test_motor.TestSpeed) |
|
Test a series of random speeds, read the simulated HW to confirm. ... ERROR |
|
test_off (tests.test_motor.TestSpeed) |
|
Test turning the motor off. ... ERROR |
|
test_over_max (tests.test_motor.TestSpeed) |
|
Test speed over max speed. Should use maximum. ... ERROR |
|
test_under_min (tests.test_motor.TestSpeed) |
|
Test speed under minimum speed. Should use minimum. ... ERROR |
|
test_0 (tests.test_servo.TestPosition) |
|
Test setting servo position to max in zero direction. ... ERROR |
|
test_180 (tests.test_servo.TestPosition) |
|
Test setting servo position to max in 180 direction. ... ERROR |
|
test_manually_confirm (tests.test_servo.TestPosition) |
|
Test a series of random positions, read simulated HW to confirm. ... ERROR |
|
test_middle (tests.test_servo.TestPosition) |
|
Test the servo at middle position. ... ERROR |
|
test_over_max (tests.test_servo.TestPosition) |
|
Test position over max position. Should use maximum. ... ERROR |
|
test_series (tests.test_servo.TestPosition) |
|
Test a series of positions. ... ERROR |
|
test_under_min (tests.test_servo.TestPosition) |
|
Test position under minimum position. Should use minimum. ... ERROR |
|
test_direction (tests.test_solenoid.TestDirection) |
|
Confirm that the solenoid's GPIO is set to output. ... skipped 'No solenoids configured (not being used on bot)' |
|
test_extended (tests.test_solenoid.TestState) |
|
Test extending solenoid. ... skipped 'No solenoids configured (not being used on bot)' |
|
test_manually_confirm (tests.test_solenoid.TestState) |
|
Test extending and retracting, read the simulated HW to confirm. ... skipped 'No solenoids configured (not being used on bot)' |
|
test_retracted (tests.test_solenoid.TestState) |
|
Test retracting solenoid. ... skipped 'No solenoids configured (not being used on bot)' |
|
test_series (tests.test_solenoid.TestState) |
|
Randomly extend and retract the solenoid. ... skipped 'No solenoids configured (not being used on bot)' |
|
test_get_voltage (tests.test_dmcc_motor.TestDMCCMotor) |
|
Test getting the supply voltage for a motor ... test_dmcc_motor.py | setUp | 51 | INFO | Running test_get_voltage() |
|
ERROR |
|
test_instantiate (tests.test_dmcc_motor.TestDMCCMotor) ... test_dmcc_motor.py | setUp | 51 | INFO | Running test_instantiate() |
|
ERROR |
|
test_power_invert (tests.test_dmcc_motor.TestDMCCMotor) |
|
Test the effect of setting inverted power mode ... test_dmcc_motor.py | setUp | 51 | INFO | Running test_power_invert() |
|
ERROR |
|
test_set_power (tests.test_dmcc_motor.TestDMCCMotor) |
|
Test setting the motor power ... test_dmcc_motor.py | setUp | 51 | INFO | Running test_set_power() |
|
ERROR |
|
test_set_velocity (tests.test_dmcc_motor.TestDMCCMotor) |
|
Test setting the motor velocity ... test_dmcc_motor.py | setUp | 51 | INFO | Running test_set_velocity() |
|
ERROR |
|
test_set_velocity_no_PID (tests.test_dmcc_motor.TestDMCCMotor) |
|
Test setting the motor velocity ... test_dmcc_motor.py | setUp | 51 | INFO | Running test_set_velocity_no_PID() |
|
ERROR |
|
test_bad_config (tests.test_dmcc_motor.TestDMCCMotorSet) ... test_dmcc_motor.py | setUp | 21 | INFO | Running test_bad_config() |
|
ok |
|
test_instantiate (tests.test_dmcc_motor.TestDMCCMotorSet) ... test_dmcc_motor.py | setUp | 21 | INFO | Running test_instantiate() |
|
ERROR |
|
test_multiple_config (tests.test_dmcc_motor.TestDMCCMotorSet) ... test_dmcc_motor.py | setUp | 21 | INFO | Running test_multiple_config() |
|
ERROR |
|
test_assign_states (tests.test_follower.TestFollower) ... ERROR |
|
test_determine_states (tests.test_follower.TestFollower) ... ERROR |
|
test_get_state_lr_errors (tests.test_follower.TestFollower) |
|
Test cases for get position left right for error throws. ... ERROR |
|
test_get_state_rl_errors (tests.test_follower.TestFollower) |
|
Test cases for get position left right for error throws. ... ERROR |
|
test_aim (tests.test_gunner.TestAim) ... ERROR |
|
test_fire (tests.test_gunner.TestFire) |
|
Simply execute the fire method. ... ERROR |
|
test_dumb_localizer (tests.test_gunner.TestLocalize) ... ERROR |
|
test_localize (tests.test_gunner.TestLocalize) ... ERROR |
|
test_ratio_localizer (tests.test_gunner.TestLocalize) ... ERROR |
|
test_ratio_localizer_angles (tests.test_gunner.TestLocalize) ... ERROR |
|
test_ratio_localizer_short_left (tests.test_gunner.TestLocalize) ... ERROR |
|
test_ratio_localizer_too_short_front (tests.test_gunner.TestLocalize) ... ERROR |
|
test_valid (tests.test_gunner.TestLocalize) ... ERROR |
|
testStructure (tests.test_ir_hub.TestReadAll) |
|
Confirm structure of reading is as expected. ... ERROR |
|
testSeries (tests.test_ir_hub.TestReadCached) |
|
Test caching behavior with a series of reads over time. ... ERROR |
|
testStructure (tests.test_ir_hub.TestReadCached) |
|
Confirm structure of returned result is as expected. ... ERROR |
|
testTime (tests.test_ir_hub.TestReadCached) |
|
Test that time value is reasonable. ... ERROR |
|
test_all_valid_n (tests.test_ir_hub.TestReadNthUnits) |
|
Loop over and read every valid value for n. ... ERROR |
|
test_n_max (tests.test_ir_hub.TestReadNthUnits) |
|
Confirm that values at max are accepted. ... ERROR |
|
test_n_min (tests.test_ir_hub.TestReadNthUnits) |
|
Confirm that values at min are accepted. ... ERROR |
|
test_n_over_max (tests.test_ir_hub.TestReadNthUnits) |
|
Confirm that values over max are rejected. ... ERROR |
|
test_n_under_min (tests.test_ir_hub.TestReadNthUnits) |
|
Confirm that values under min are rejected. ... ERROR |
|
test_all_valid_n (tests.test_ir_hub.TestSelectNthUnits) |
|
Loop over every valid value for n. ... ERROR |
|
test_n_max (tests.test_ir_hub.TestSelectNthUnits) |
|
Confirm that values at max are accepted. ... ERROR |
|
test_n_min (tests.test_ir_hub.TestSelectNthUnits) |
|
Confirm that values at min are accepted. ... ERROR |
|
test_n_over_max (tests.test_ir_hub.TestSelectNthUnits) |
|
Confirm that values over max are rejected. ... ERROR |
|
test_n_under_min (tests.test_ir_hub.TestSelectNthUnits) |
|
Confirm that values under min are rejected. ... ERROR |
|
test_compound_move (tests.test_mec_driver.TestRotate) ... ERROR |
|
test_move (tests.test_mec_driver.TestRotate) ... ERROR |
|
test_move_forward_strafe (tests.test_mec_driver.TestRotate) ... ERROR |
|
test_move_zero (tests.test_mec_driver.TestRotate) ... ERROR |
|
test_rotate (tests.test_mec_driver.TestRotate) ... ERROR |
|
test_rotate_motor_dirs (tests.test_mec_driver.TestRotate) ... ERROR |
|
test_rotate_motor_vals (tests.test_mec_driver.TestRotate) ... ERROR |
|
test_pid_kd (tests.test_pid.TestPID) |
|
Test the funtionaty of pid ... ERROR |
|
test_pid_kp (tests.test_pid.TestPID) |
|
Test the funtionaty of pid ... ERROR |
|
test_getFiringSolution (tests.test_targeting_solver.TestTargetingSolver) ... test_targeting_solver.py | setUp | 17 | INFO | Running test_getFiringSolution() |
|
ok |
|
test_getFiringSolution_bad_velocity (tests.test_targeting_solver.TestTargetingSolver) ... test_targeting_solver.py | setUp | 17 | INFO | Running test_getFiringSolution_bad_velocity() |
|
targeting_solver.py | getFiringSolution | 107 | ERROR | Velocity too low, must be greater than 1 |
|
ok |
|
test_getHorizLaunchAngle (tests.test_targeting_solver.TestTargetingSolver) ... test_targeting_solver.py | setUp | 17 | INFO | Running test_getHorizLaunchAngle() |
|
ok |
|
test_getMinElevationAngle (tests.test_targeting_solver.TestTargetingSolver) ... test_targeting_solver.py | setUp | 17 | INFO | Running test_getMinElevationAngle() |
|
ok |
|
test_getServoAngle (tests.test_targeting_solver.TestTargetingSolver) ... test_targeting_solver.py | setUp | 17 | INFO | Running test_getServoAngle() |
|
ok |
|
test_getTargetDistance (tests.test_targeting_solver.TestTargetingSolver) ... test_targeting_solver.py | setUp | 17 | INFO | Running test_getTargetDistance() |
|
ok |
|
test_pitch_good_angle (tests.test_turret.TestAngle) |
|
Test setting the pitch angle to min value. ... ERROR |
|
test_pitch_over_max (tests.test_turret.TestAngle) |
|
Test setting the pitch angle to greater than the max value. ... ERROR |
|
test_pitch_under_min (tests.test_turret.TestAngle) |
|
Test setting the pitch angle to less than the min value. ... ERROR |
|
test_yaw_good_angle (tests.test_turret.TestAngle) |
|
Test setting the yaw angle to middle value. ... ERROR |
|
test_yaw_over_max (tests.test_turret.TestAngle) |
|
Test setting the yaw angle to greater than the max value. ... ERROR |
|
test_yaw_under_min (tests.test_turret.TestAngle) |
|
Test setting the yaw angle to less than the min value. ... ERROR |
|
test_dists (tests.test_ultrasonic.TestUltrasonic) ... test_ultrasonic.py | setUp | 23 | INFO | Using test config: /home/vagrant/bot/tests/test_config.yaml |
|
test_ultrasonic.py | setUp | 24 | INFO | Running test_dists() |
|
ultrasonic.py | __init__ | 66 | WARNING | Could not open /dev/mem: [Errno 13] Permission denied: '/dev/mem' |
|
ok |
|
test_inches (tests.test_ultrasonic.TestUltrasonic) ... test_ultrasonic.py | setUp | 23 | INFO | Using test config: /home/vagrant/bot/tests/test_config.yaml |
|
test_ultrasonic.py | setUp | 24 | INFO | Running test_inches() |
|
ultrasonic.py | __init__ | 66 | WARNING | Could not open /dev/mem: [Errno 13] Permission denied: '/dev/mem' |
|
ok |
|
test_meters (tests.test_ultrasonic.TestUltrasonic) ... test_ultrasonic.py | setUp | 23 | INFO | Using test config: /home/vagrant/bot/tests/test_config.yaml |
|
test_ultrasonic.py | setUp | 24 | INFO | Running test_meters() |
|
ultrasonic.py | __init__ | 66 | WARNING | Could not open /dev/mem: [Errno 13] Permission denied: '/dev/mem' |
|
ok |
|
test_read (tests.test_ultrasonic.TestUltrasonic) ... test_ultrasonic.py | setUp | 23 | INFO | Using test config: /home/vagrant/bot/tests/test_config.yaml |
|
test_ultrasonic.py | setUp | 24 | INFO | Running test_read() |
|
ultrasonic.py | __init__ | 66 | WARNING | Could not open /dev/mem: [Errno 13] Permission denied: '/dev/mem' |
|
ok |
|
test_dart_velocity_sane (tests.test_wheel_gun.TestDartVelocity) |
|
Test that reasonable wheel speeds produce reasonable velocities. ... ERROR |
|
test_fire_invalid_delay (tests.test_wheel_gun.TestFire) |
|
Test invalid delay (between advancing/retracting trigger). ... ERROR |
|
test_fire_invalid_trigger_duration (tests.test_wheel_gun.TestFire) |
|
Test invalid time to advance/retract trigger. ... ERROR |
|
test_fire_normal (tests.test_wheel_gun.TestFire) |
|
Test firing function with default params. ... ERROR |
|
test_laser_invalid (tests.test_wheel_gun.TestLaser) |
|
Set laser to invalid value. ... ERROR |
|
test_laser_off (tests.test_wheel_gun.TestLaser) |
|
Turn laser off, check result. ... ERROR |
|
test_laser_on (tests.test_wheel_gun.TestLaser) |
|
Turn laser on, check result. ... ERROR |
|
test_power_over_max (tests.test_wheel_gun.TestWheelSpeed) |
|
Test power over max power. Should use maximum. ... ERROR |
|
test_power_under_min (tests.test_wheel_gun.TestWheelSpeed) |
|
Test power under minimum power. Should use minimum. ... ERROR |
|
test_set_good_power (tests.test_wheel_gun.TestWheelSpeed) |
|
Test the wheels at a reasonable speed. ... ERROR |
|
test_spin_up (tests.test_wheel_gun.TestWheelSpeed) |
|
Test turning the wheels to 100% duty cycle. ... ERROR |
|
test_stop (tests.test_wheel_gun.TestWheelSpeed) |
|
Test stopping wheel rotation. ... ERROR |
|
test_set_wheel_velocity (tests.test_wheel_gun.TestWheelVelocity) ... ERROR |
|
test_read (tests.test_ADC.TestADC) |
|
Tests reading of all adc's ... ERROR |
|
|
|
====================================================================== |
|
ERROR: test_manual_confirm (tests.test_ir.TestSelectedUnitVal) |
|
Use the getter then confirm using simulated hardware. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir.py", line 15, in setUp |
|
super(TestSelectedUnitVal, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_invalid (tests.test_lib.TestGetConfig) |
|
Test proper failure for fake config file. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_type (tests.test_lib.TestGetConfig) |
|
Confirm that type of config is a dict. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_type (tests.test_lib.TestGetLogger) |
|
Test that object returned is of proper type. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_invalid_config (tests.test_lib.TestSetTesting) |
|
Test passing an invalid path to the config file. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_lib.py", line 72, in tearDown |
|
lib.set_testing(self.orig_config["testing"]) |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_invalid_state (tests.test_lib.TestSetTesting) |
|
Test passing a non-boolean value for state param. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_lib.py", line 72, in tearDown |
|
lib.set_testing(self.orig_config["testing"]) |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_same (tests.test_lib.TestSetTesting) |
|
Test writing the current value of testing flag. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_lib.py", line 76, in test_same |
|
lib.set_testing(self.orig_config["testing"]) |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_same (tests.test_lib.TestSetTesting) |
|
Test writing the current value of testing flag. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_lib.py", line 72, in tearDown |
|
lib.set_testing(self.orig_config["testing"]) |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_modify_log_file (tests.test_lib.TestWriteConfig) |
|
Test writing a new log file then reverting that change. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_same (tests.test_lib.TestWriteConfig) |
|
Confirm that writing without changes produces no change. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_forward (tests.test_motor.TestDirection) |
|
Test motor in forward direction using text and int syntax. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_motor.py", line 93, in setUp |
|
self.motor = m_mod.Motor(self.pwm_num, self.gpio_num) |
|
File "/home/vagrant/bot/bot/hardware/motor.py", line 51, in __init__ |
|
if config["test_mode"]["motor"]: |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_invalid (tests.test_motor.TestDirection) |
|
Test a series of invalid directions. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_motor.py", line 93, in setUp |
|
self.motor = m_mod.Motor(self.pwm_num, self.gpio_num) |
|
File "/home/vagrant/bot/bot/hardware/motor.py", line 51, in __init__ |
|
if config["test_mode"]["motor"]: |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_reverse (tests.test_motor.TestDirection) |
|
Test motor in reverse direction using text and int syntax. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_motor.py", line 93, in setUp |
|
self.motor = m_mod.Motor(self.pwm_num, self.gpio_num) |
|
File "/home/vagrant/bot/bot/hardware/motor.py", line 51, in __init__ |
|
if config["test_mode"]["motor"]: |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_get_dir (tests.test_motor.TestNoDirection) |
|
Get direction for a motor that should have no direction. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_motor.py", line 138, in setUp |
|
self.motor = m_mod.Motor(self.pwm_num) |
|
File "/home/vagrant/bot/bot/hardware/motor.py", line 51, in __init__ |
|
if config["test_mode"]["motor"]: |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_set_dir (tests.test_motor.TestNoDirection) |
|
Test setting a direction for a motor that should have no direction. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_motor.py", line 138, in setUp |
|
self.motor = m_mod.Motor(self.pwm_num) |
|
File "/home/vagrant/bot/bot/hardware/motor.py", line 51, in __init__ |
|
if config["test_mode"]["motor"]: |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_vol (tests.test_motor.TestNoDirection) |
|
Get velocity for a motor that has no direction. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_motor.py", line 138, in setUp |
|
self.motor = m_mod.Motor(self.pwm_num) |
|
File "/home/vagrant/bot/bot/hardware/motor.py", line 51, in __init__ |
|
if config["test_mode"]["motor"]: |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_accel (tests.test_motor.TestSpeed) |
|
Test a series of increasing speeds. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_motor.py", line 27, in setUp |
|
self.motor = m_mod.Motor(self.pwm_num, self.gpio_num) |
|
File "/home/vagrant/bot/bot/hardware/motor.py", line 51, in __init__ |
|
if config["test_mode"]["motor"]: |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_full (tests.test_motor.TestSpeed) |
|
Test turning the motor to 100% duty cycle. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_motor.py", line 27, in setUp |
|
self.motor = m_mod.Motor(self.pwm_num, self.gpio_num) |
|
File "/home/vagrant/bot/bot/hardware/motor.py", line 51, in __init__ |
|
if config["test_mode"]["motor"]: |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_half (tests.test_motor.TestSpeed) |
|
Test the motor at half speed. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_motor.py", line 27, in setUp |
|
self.motor = m_mod.Motor(self.pwm_num, self.gpio_num) |
|
File "/home/vagrant/bot/bot/hardware/motor.py", line 51, in __init__ |
|
if config["test_mode"]["motor"]: |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_manually_confirm (tests.test_motor.TestSpeed) |
|
Test a series of random speeds, read the simulated HW to confirm. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_motor.py", line 27, in setUp |
|
self.motor = m_mod.Motor(self.pwm_num, self.gpio_num) |
|
File "/home/vagrant/bot/bot/hardware/motor.py", line 51, in __init__ |
|
if config["test_mode"]["motor"]: |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_off (tests.test_motor.TestSpeed) |
|
Test turning the motor off. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_motor.py", line 27, in setUp |
|
self.motor = m_mod.Motor(self.pwm_num, self.gpio_num) |
|
File "/home/vagrant/bot/bot/hardware/motor.py", line 51, in __init__ |
|
if config["test_mode"]["motor"]: |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_over_max (tests.test_motor.TestSpeed) |
|
Test speed over max speed. Should use maximum. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_motor.py", line 27, in setUp |
|
self.motor = m_mod.Motor(self.pwm_num, self.gpio_num) |
|
File "/home/vagrant/bot/bot/hardware/motor.py", line 51, in __init__ |
|
if config["test_mode"]["motor"]: |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_under_min (tests.test_motor.TestSpeed) |
|
Test speed under minimum speed. Should use minimum. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_motor.py", line 27, in setUp |
|
self.motor = m_mod.Motor(self.pwm_num, self.gpio_num) |
|
File "/home/vagrant/bot/bot/hardware/motor.py", line 51, in __init__ |
|
if config["test_mode"]["motor"]: |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_0 (tests.test_servo.TestPosition) |
|
Test setting servo position to max in zero direction. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_servo.py", line 17, in setUp |
|
super(TestPosition, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_180 (tests.test_servo.TestPosition) |
|
Test setting servo position to max in 180 direction. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_servo.py", line 17, in setUp |
|
super(TestPosition, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_manually_confirm (tests.test_servo.TestPosition) |
|
Test a series of random positions, read simulated HW to confirm. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_servo.py", line 17, in setUp |
|
super(TestPosition, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_middle (tests.test_servo.TestPosition) |
|
Test the servo at middle position. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_servo.py", line 17, in setUp |
|
super(TestPosition, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_over_max (tests.test_servo.TestPosition) |
|
Test position over max position. Should use maximum. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_servo.py", line 17, in setUp |
|
super(TestPosition, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_series (tests.test_servo.TestPosition) |
|
Test a series of positions. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_servo.py", line 17, in setUp |
|
super(TestPosition, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_under_min (tests.test_servo.TestPosition) |
|
Test position under minimum position. Should use minimum. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_servo.py", line 17, in setUp |
|
super(TestPosition, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_get_voltage (tests.test_dmcc_motor.TestDMCCMotor) |
|
Test getting the supply voltage for a motor |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_dmcc_motor.py", line 53, in setUp |
|
self.motor_set = DMCCMotorSet(motor_conf) |
|
File "/home/vagrant/bot/bot/hardware/dmcc_motor.py", line 25, in __init__ |
|
self.is_testing = self.config["test_mode"]["DMCC"] |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_instantiate (tests.test_dmcc_motor.TestDMCCMotor) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_dmcc_motor.py", line 53, in setUp |
|
self.motor_set = DMCCMotorSet(motor_conf) |
|
File "/home/vagrant/bot/bot/hardware/dmcc_motor.py", line 25, in __init__ |
|
self.is_testing = self.config["test_mode"]["DMCC"] |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_power_invert (tests.test_dmcc_motor.TestDMCCMotor) |
|
Test the effect of setting inverted power mode |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_dmcc_motor.py", line 53, in setUp |
|
self.motor_set = DMCCMotorSet(motor_conf) |
|
File "/home/vagrant/bot/bot/hardware/dmcc_motor.py", line 25, in __init__ |
|
self.is_testing = self.config["test_mode"]["DMCC"] |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_set_power (tests.test_dmcc_motor.TestDMCCMotor) |
|
Test setting the motor power |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_dmcc_motor.py", line 53, in setUp |
|
self.motor_set = DMCCMotorSet(motor_conf) |
|
File "/home/vagrant/bot/bot/hardware/dmcc_motor.py", line 25, in __init__ |
|
self.is_testing = self.config["test_mode"]["DMCC"] |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_set_velocity (tests.test_dmcc_motor.TestDMCCMotor) |
|
Test setting the motor velocity |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_dmcc_motor.py", line 53, in setUp |
|
self.motor_set = DMCCMotorSet(motor_conf) |
|
File "/home/vagrant/bot/bot/hardware/dmcc_motor.py", line 25, in __init__ |
|
self.is_testing = self.config["test_mode"]["DMCC"] |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_set_velocity_no_PID (tests.test_dmcc_motor.TestDMCCMotor) |
|
Test setting the motor velocity |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_dmcc_motor.py", line 53, in setUp |
|
self.motor_set = DMCCMotorSet(motor_conf) |
|
File "/home/vagrant/bot/bot/hardware/dmcc_motor.py", line 25, in __init__ |
|
self.is_testing = self.config["test_mode"]["DMCC"] |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_instantiate (tests.test_dmcc_motor.TestDMCCMotorSet) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_dmcc_motor.py", line 25, in test_instantiate |
|
motor_set = DMCCMotorSet(conf) |
|
File "/home/vagrant/bot/bot/hardware/dmcc_motor.py", line 25, in __init__ |
|
self.is_testing = self.config["test_mode"]["DMCC"] |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_multiple_config (tests.test_dmcc_motor.TestDMCCMotorSet) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_dmcc_motor.py", line 30, in test_multiple_config |
|
drive_motor_set = DMCCMotorSet(drive_conf) |
|
File "/home/vagrant/bot/bot/hardware/dmcc_motor.py", line 25, in __init__ |
|
self.is_testing = self.config["test_mode"]["DMCC"] |
|
KeyError: 'test_mode' |
|
|
|
====================================================================== |
|
ERROR: test_assign_states (tests.test_follower.TestFollower) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_follower.py", line 18, in setUp |
|
super(TestFollower, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_determine_states (tests.test_follower.TestFollower) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_follower.py", line 18, in setUp |
|
super(TestFollower, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_get_state_lr_errors (tests.test_follower.TestFollower) |
|
Test cases for get position left right for error throws. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_follower.py", line 18, in setUp |
|
super(TestFollower, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_get_state_rl_errors (tests.test_follower.TestFollower) |
|
Test cases for get position left right for error throws. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_follower.py", line 18, in setUp |
|
super(TestFollower, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_aim (tests.test_gunner.TestAim) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_gunner.py", line 17, in setUp |
|
super(TestAim, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_fire (tests.test_gunner.TestFire) |
|
Simply execute the fire method. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_gunner.py", line 41, in setUp |
|
super(TestFire, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_dumb_localizer (tests.test_gunner.TestLocalize) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_gunner.py", line 64, in setUp |
|
super(TestLocalize, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_localize (tests.test_gunner.TestLocalize) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_gunner.py", line 64, in setUp |
|
super(TestLocalize, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_ratio_localizer (tests.test_gunner.TestLocalize) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_gunner.py", line 64, in setUp |
|
super(TestLocalize, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_ratio_localizer_angles (tests.test_gunner.TestLocalize) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_gunner.py", line 64, in setUp |
|
super(TestLocalize, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_ratio_localizer_short_left (tests.test_gunner.TestLocalize) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_gunner.py", line 64, in setUp |
|
super(TestLocalize, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_ratio_localizer_too_short_front (tests.test_gunner.TestLocalize) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_gunner.py", line 64, in setUp |
|
super(TestLocalize, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_valid (tests.test_gunner.TestLocalize) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_gunner.py", line 64, in setUp |
|
super(TestLocalize, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: testStructure (tests.test_ir_hub.TestReadAll) |
|
Confirm structure of reading is as expected. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 132, in setUp |
|
super(TestReadAll, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: testSeries (tests.test_ir_hub.TestReadCached) |
|
Test caching behavior with a series of reads over time. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 161, in setUp |
|
super(TestReadCached, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: testStructure (tests.test_ir_hub.TestReadCached) |
|
Confirm structure of returned result is as expected. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 161, in setUp |
|
super(TestReadCached, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: testTime (tests.test_ir_hub.TestReadCached) |
|
Test that time value is reasonable. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 161, in setUp |
|
super(TestReadCached, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_all_valid_n (tests.test_ir_hub.TestReadNthUnits) |
|
Loop over and read every valid value for n. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 68, in setUp |
|
super(TestReadNthUnits, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_n_max (tests.test_ir_hub.TestReadNthUnits) |
|
Confirm that values at max are accepted. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 68, in setUp |
|
super(TestReadNthUnits, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_n_min (tests.test_ir_hub.TestReadNthUnits) |
|
Confirm that values at min are accepted. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 68, in setUp |
|
super(TestReadNthUnits, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_n_over_max (tests.test_ir_hub.TestReadNthUnits) |
|
Confirm that values over max are rejected. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 68, in setUp |
|
super(TestReadNthUnits, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_n_under_min (tests.test_ir_hub.TestReadNthUnits) |
|
Confirm that values under min are rejected. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 68, in setUp |
|
super(TestReadNthUnits, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_all_valid_n (tests.test_ir_hub.TestSelectNthUnits) |
|
Loop over every valid value for n. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 19, in setUp |
|
super(TestSelectNthUnits, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_n_max (tests.test_ir_hub.TestSelectNthUnits) |
|
Confirm that values at max are accepted. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 19, in setUp |
|
super(TestSelectNthUnits, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_n_min (tests.test_ir_hub.TestSelectNthUnits) |
|
Confirm that values at min are accepted. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 19, in setUp |
|
super(TestSelectNthUnits, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_n_over_max (tests.test_ir_hub.TestSelectNthUnits) |
|
Confirm that values over max are rejected. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 19, in setUp |
|
super(TestSelectNthUnits, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_n_under_min (tests.test_ir_hub.TestSelectNthUnits) |
|
Confirm that values under min are rejected. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ir_hub.py", line 19, in setUp |
|
super(TestSelectNthUnits, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_compound_move (tests.test_mec_driver.TestRotate) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_mec_driver.py", line 17, in setUp |
|
super(TestRotate, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_move (tests.test_mec_driver.TestRotate) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_mec_driver.py", line 17, in setUp |
|
super(TestRotate, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_move_forward_strafe (tests.test_mec_driver.TestRotate) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_mec_driver.py", line 17, in setUp |
|
super(TestRotate, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_move_zero (tests.test_mec_driver.TestRotate) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_mec_driver.py", line 17, in setUp |
|
super(TestRotate, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_rotate (tests.test_mec_driver.TestRotate) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_mec_driver.py", line 17, in setUp |
|
super(TestRotate, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_rotate_motor_dirs (tests.test_mec_driver.TestRotate) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_mec_driver.py", line 17, in setUp |
|
super(TestRotate, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_rotate_motor_vals (tests.test_mec_driver.TestRotate) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_mec_driver.py", line 17, in setUp |
|
super(TestRotate, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_pid_kd (tests.test_pid.TestPID) |
|
Test the funtionaty of pid |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_pid.py", line 21, in setUp |
|
super(TestPID, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_pid_kp (tests.test_pid.TestPID) |
|
Test the funtionaty of pid |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_pid.py", line 21, in setUp |
|
super(TestPID, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_pitch_good_angle (tests.test_turret.TestAngle) |
|
Test setting the pitch angle to min value. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_turret.py", line 17, in setUp |
|
super(TestAngle, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_pitch_over_max (tests.test_turret.TestAngle) |
|
Test setting the pitch angle to greater than the max value. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_turret.py", line 17, in setUp |
|
super(TestAngle, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_pitch_under_min (tests.test_turret.TestAngle) |
|
Test setting the pitch angle to less than the min value. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_turret.py", line 17, in setUp |
|
super(TestAngle, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_yaw_good_angle (tests.test_turret.TestAngle) |
|
Test setting the yaw angle to middle value. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_turret.py", line 17, in setUp |
|
super(TestAngle, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_yaw_over_max (tests.test_turret.TestAngle) |
|
Test setting the yaw angle to greater than the max value. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_turret.py", line 17, in setUp |
|
super(TestAngle, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_yaw_under_min (tests.test_turret.TestAngle) |
|
Test setting the yaw angle to less than the min value. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_turret.py", line 17, in setUp |
|
super(TestAngle, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_dart_velocity_sane (tests.test_wheel_gun.TestDartVelocity) |
|
Test that reasonable wheel speeds produce reasonable velocities. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 236, in setUp |
|
super(TestDartVelocity, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_fire_invalid_delay (tests.test_wheel_gun.TestFire) |
|
Test invalid delay (between advancing/retracting trigger). |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 109, in setUp |
|
super(TestFire, self).setUp() |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 26, in setUp |
|
super(TestWheelGun, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_fire_invalid_trigger_duration (tests.test_wheel_gun.TestFire) |
|
Test invalid time to advance/retract trigger. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 109, in setUp |
|
super(TestFire, self).setUp() |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 26, in setUp |
|
super(TestWheelGun, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_fire_normal (tests.test_wheel_gun.TestFire) |
|
Test firing function with default params. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 109, in setUp |
|
super(TestFire, self).setUp() |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 26, in setUp |
|
super(TestWheelGun, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_laser_invalid (tests.test_wheel_gun.TestLaser) |
|
Set laser to invalid value. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 51, in setUp |
|
super(TestLaser, self).setUp() |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 26, in setUp |
|
super(TestWheelGun, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_laser_off (tests.test_wheel_gun.TestLaser) |
|
Turn laser off, check result. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 51, in setUp |
|
super(TestLaser, self).setUp() |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 26, in setUp |
|
super(TestWheelGun, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_laser_on (tests.test_wheel_gun.TestLaser) |
|
Turn laser on, check result. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 51, in setUp |
|
super(TestLaser, self).setUp() |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 26, in setUp |
|
super(TestWheelGun, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_power_over_max (tests.test_wheel_gun.TestWheelSpeed) |
|
Test power over max power. Should use maximum. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 174, in setUp |
|
super(TestWheelSpeed, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_power_under_min (tests.test_wheel_gun.TestWheelSpeed) |
|
Test power under minimum power. Should use minimum. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 174, in setUp |
|
super(TestWheelSpeed, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_set_good_power (tests.test_wheel_gun.TestWheelSpeed) |
|
Test the wheels at a reasonable speed. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 174, in setUp |
|
super(TestWheelSpeed, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_spin_up (tests.test_wheel_gun.TestWheelSpeed) |
|
Test turning the wheels to 100% duty cycle. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 174, in setUp |
|
super(TestWheelSpeed, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_stop (tests.test_wheel_gun.TestWheelSpeed) |
|
Test stopping wheel rotation. |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 174, in setUp |
|
super(TestWheelSpeed, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_set_wheel_velocity (tests.test_wheel_gun.TestWheelVelocity) |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_wheel_gun.py", line 217, in setUp |
|
super(TestWheelVelocity, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
====================================================================== |
|
ERROR: test_read (tests.test_ADC.TestADC) |
|
Tests reading of all adc's |
|
---------------------------------------------------------------------- |
|
Traceback (most recent call last): |
|
File "/home/vagrant/bot/tests/test_ADC.py", line 23, in setUp |
|
super(TestADC, self).setUp() |
|
File "/home/vagrant/bot/tests/test_bot.py", line 25, in setUp |
|
self.orig_test_state = self.config["testing"] |
|
KeyError: 'testing' |
|
|
|
---------------------------------------------------------------------- |
|
Ran 109 tests in 0.472s |
|
|
|
FAILED (errors=94, skipped=5) |
|
ERROR: InvocationError: '/home/vagrant/bot/.tox/py27/bin/python setup.py test' |
|
___________________________________ summary ____________________________________ |
|
ERROR: py27: commands failed |