scriptharness / python-scriptharness

http://python-scriptharness.readthedocs.org/
Mozilla Public License 2.0
2 stars 2 forks source link

split muted/unmuted tests in test_structures.py #4

Open escapewindow opened 9 years ago

escapewindow commented 9 years ago

There's full coverage for muted and unmuted strings, but if they're mixed together, which makes it more difficult to debug problems if/when something breaks.

I already started this, e.g.

but I'm not done.

I think there are six more test methods (insert through reverse) that need to be split into 3 each, after which pylint may complain about too many methods. Then we can split the class into a base class with the helper methods, and two subclasses (muted and unmuted).