Skip to content

konradhalas/petit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

petit

https://travis-ci.org/konradhalas/petit.png

Petit is a single metaclass which fixes broken methods names in camel case (like "assertEqual") according to PEP8. Petit stands for "PEP 8 it!".

Usage

Sample usage:

from unittest import TestCase
from petit import Petit

class SthTest(TestCase)

    __metaclass__ = Petit

    def test_sth(self):
        result = (...)
        self.assert_true(result)

About

Fix broken Python method names in a simple way.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages