Fix set_bool_opt and add more tests
commitdc7254f9adf6019446ce7754bfe4c34264903ead
authorSean Robinson <seankrobinson@gmail.com>
Thu, 6 Mar 2014 23:27:09 +0000 (6 16:27 -0700)
committerSean Robinson <seankrobinson@gmail.com>
Thu, 6 Mar 2014 23:27:09 +0000 (6 16:27 -0700)
tree47c487e578cae6b63f0d1f59515531e5d6554b3a
parent83ed35b409774b1db63eb82b913a69df56bbb14b
Fix set_bool_opt and add more tests

This fixes set_bool_opt based on writing tests which showed it was
horribly broken.  Yea, testing!  And add tests for exceptions
raised by the method.

Signed-off-by: Sean Robinson <seankrobinson@gmail.com>
test/unit/config.py
wifiradar/config.py