Olivier Mangin d8dc386a18
Fix fake input behavior in tests on unexpected input.
Because of the mechanism for catching exceptions in pubs, the
UnexpectedInput exception raised by FakeInput never reached the catch
statement in the CommandTestCase and raised a FakeSystemExit instead.

This commit monkey-patches the exception handler in the ui at the same
time as the patching of the input functions to ignore UnexptectedInput
at the ui level.
2018-07-25 19:59:23 +02:00
..
2015-12-20 18:51:43 +01:00
2014-04-18 12:58:12 +02:00
2015-12-20 19:26:33 +01:00
2016-06-06 00:25:27 +02:00
2015-12-02 16:36:27 +01:00
2015-12-02 16:36:27 +01:00
2016-06-05 21:48:19 +02:00
2018-05-22 10:32:43 -05:00
2018-02-21 13:59:26 +09:00
2018-01-05 21:31:46 -05:00
2015-05-07 13:17:44 +02:00
2017-08-01 23:43:06 -04:00
2017-12-20 09:23:10 -05:00
2015-12-04 23:44:05 -05:00
2013-11-14 04:40:29 +01:00

1. Install the dependencies using:
> pip install -r requirements.txt

2. Run the tests using:
> python -m unittest discover

If you use nosetest, it will complain about addExpectedFailure, which you can safely disregard.