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.
terryjreedy
changed the title
IDLE: add unittest to test_autocomplete
IDLE: add unittests to test_autocomplete
Jun 14, 2017
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: