Began adding tests for printer class
Added further tests for printer class
Added generate ppd unit test
Remove old test code for capabilities
Moved language and paper type detection into utils class, added unit tests
Removed redundant code to skip ParameterDef capability types, as only Feature type capabilities are used anyway [skip ci]
Use ppd name from printer object, instead of asking CUPS for printer ppd
Test sanitizeText in printer class
Added tests for getInternalName
Added missing subprocess import to printer.py
Added remaining tests for printer class
Added tests for attrlisttoarry and encodemultipart
Test rotating an invalid pdf
Add 'corrupt' pdf test file
Check for basestring instead of str, centralised test capabilities, added more examples
Test for basestring instead of str or unicode
Use staticmethod decorators, as we have given up trying to port to python 2.4
Test with duplicate capabilities
Catch exception from submit job errors and added test
Moved convert command name to variable