[issue20792] IDLE: Extend tests for PathBrowser

Saimadhav Heblikar report at bugs.python.org
Thu Feb 27 10:29:43 CET 2014


New submission from Saimadhav Heblikar:

This patch does 
1.Remove pep8 violations in PathBrowser.py . Replaces "file","dir","sorted" by "file_","dir_","sorted_" respectively.
2.Extends test coverage for PathBrowser.py in idle_test/test_PathBrowser.py

New modules now under tests include
1.dirBrowserTreeItem - getText,ispackagedir
2.pathBrowserTreeItem - getText,getSublist

Only method missing a test after this patch will be listmodules.I am not too sure whether it requires a test for itself.it is indirectly being tested from lines 8 and 9(in the current tip).

----------
components: IDLE, Tests
files: pathbrowser1.patch
keywords: patch
messages: 212343
nosy: sahutd, taleinat, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Extend tests for PathBrowser
versions: Python 3.4
Added file: http://bugs.python.org/file34243/pathbrowser1.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20792>
_______________________________________


More information about the Python-bugs-list mailing list