Commit Graph

21 Commits

Author SHA1 Message Date
Jonathan Frederic
01a6929c0d Fix faulty interact tests 2014-12-02 09:29:02 -08:00
Thomas Kluyver
f420cdf3e7 Make comm_manager a property of kernel, not shell 2014-09-24 17:38:04 -07:00
Matthias Bussonnier
684d739d92 Merge pull request #6520 from minrk/comm-default
avoid copious warnings in interact tests
2014-09-24 13:44:58 +02:00
MinRK
ec4d3597c7 avoid copious warnings in interact tests
comm was mocked out, but in a way that makes traitlets complain
2014-09-22 13:21:19 -07:00
Gordon Ball
48e1a0b2bc s/choose/manual/g 2014-09-22 21:23:51 +02:00
Gordon Ball
859e9f5261 Change from on_demand kwarg to interact_choose function 2014-08-26 10:37:32 +02:00
Gordon Ball
8296f24904 Merge master 2014-08-26 10:25:38 +02:00
Gordon Ball
a096d01310 Test case for setting only lower or upper, no sensible default so should be an error 2014-08-24 12:26:02 +02:00
Gordon Ball
b8c0afbb55 Merge master 2014-08-22 10:19:03 +02:00
Gordon Ball
05f07f1f71 Add a number of extra tests for the range widgets 2014-08-20 16:25:53 +02:00
Jonathan Frederic
170b13102e Fix interact tests for rename 2014-08-08 14:56:11 -07:00
Gordon Ball
bfd029f5ab Remove tests for 4-5 tuples, add tests for validate logic 2014-07-03 12:08:53 +02:00
Gordon Ball
7e4cd6abc1 Add tests for the on_demand option 2014-06-26 21:31:07 +02:00
Gordon Ball
c85155b25d Add some tests for the 4-5 int/float form in interact() 2014-06-26 21:11:41 +02:00
Jessica B. Hamrick
287e9a5cbd Add tests for default/custom description 2014-05-08 11:18:55 -07:00
MinRK
62f318c777 undo failed changes
before raising

otherwise, invalid values were still accepted
2014-02-20 22:57:01 -08:00
MinRK
b51cc50357 further tests for default values in interact
both valid and invalid
2014-02-20 22:37:04 -08:00
MinRK
8a2d92010a set default value from signature defaults in interact
If available, use the default value from the signature for the initial condition,
when using range/choice abbreviations.

Not affected:

- single-value abbreviations (`@interact(a=5)` sets `a=5`)
- explicit Widgets
2014-02-16 15:11:39 -08:00
MinRK
813e32dfea set readout=True as default on SliderWidgets 2014-02-07 11:16:46 -08:00
MinRK
7861bee65f test widget interaction (Python) 2014-02-06 17:06:08 -08:00
Brian E. Granger
dd9a6efaed Utter interact insanity.
This involves a bunch of really complicated logic to handle the
different ways that function parameters can be processed in Python.
Most importantly, this includes support for *args in interact.
2014-02-06 17:06:05 -08:00