This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Additional tests for the os module.
Type: enhancement Stage:
Components: Tests Versions: Python 3.4
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: willweaver
Priority: normal Keywords: patch

Created on 2013-03-22 17:40 by willweaver, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
mywork.patch willweaver, 2013-03-22 17:40 Patch to test_os.py review
Messages (2)
msg184992 - (view) Author: Will Weaver (willweaver) Date: 2013-03-22 17:40
I've reorganized and added some os module tests.

I split the makedirs tests into additional test methods that test one thing instead of a lot of different things. I added additional test coverage for a trailing '/'.

I've also added the same test for removedirs.

I reorganized the walk tests so that they actually run. Before there was only a setUp and a tearDown but no actual tests so the tests would not actually run.

Lastly, I added tests for renames as there weren't any before.
msg204515 - (view) Author: Will Weaver (willweaver) Date: 2013-11-26 19:23
It seems that I probably missed some tests as I only ran then on Mac OS. Such a minor addition so no need to do anything about it. If I go about it in a better way I'll make a new issue.
History
Date User Action Args
2022-04-11 14:57:43adminsetgithub: 61725
2013-11-26 19:23:51willweaversetstatus: open -> closed
resolution: wont fix
messages: + msg204515
2013-03-22 17:40:46willweavercreate