Is there a consensus about the best place to put Python unittests?
Should the unittests be included within the same module as the functionality being tested (executed wh
I usually have them in a separate folder called most often test/. Personally I am not using the if __name__ == '__main__' check, because I use nosetests and it handles the test detection by itself.