You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue, and in part the patch, appears to be a duplicate of bpo-30348. What am I missing? An issue can have multiple PRs, and one can either replace another one that is closed or augment one that must be applied first.
Test_autocomplete.AutoCompleteTest has a test_method for each method of autocomplete.AutoComplete. The last 5 test methods are empty ('pass'). Finish them. A couple of the methods might be usefully split into smaller methods. Get_entity is actually a function, as 'self' is ignored. After the first else, fetch_completions is also independent of 'self'. PR 2011 combines the two blocks into a function that can be moved to run.py.
These method tests should be supplemented by user action tests with live widgets and simulated key events. Such tests would be black box tests in that they should be independent of the implementation.
I decided to broaden this issue to all autocomplete tests and narrow that one to autocomplete_w tests.
Activity
mlouielu commentedon Jun 12, 2017
Add unittest to test_open_completions, test_fetch_copmletions, and test_get_entity in test_autocomplete
terryjreedy commentedon Jun 12, 2017
This issue, and in part the patch, appears to be a duplicate of bpo-30348. What am I missing? An issue can have multiple PRs, and one can either replace another one that is closed or augment one that must be applied first.
terryjreedy commentedon Jun 14, 2017
Ping. Please answer question about two PRs.
For bpo-30666, I wrote
These method tests should be supplemented by user action tests with live widgets and simulated key events. Such tests would be black box tests in that they should be independent of the implementation.
I decided to broaden this issue to all autocomplete tests and narrow that one to autocomplete_w tests.
[-]IDLE: add unittest to test_autocomplete[/-][+]IDLE: add unittests to test_autocomplete[/+]mlouielu commentedon Jun 15, 2017
This is a duplicate of bpo-30348, I forgot there has a exists PR. I'll combine them and finish left 5 unittest in bpo-30348.