Files
PyGithub/github/tests/__main__.py
T
Vincent Jacques 531c3f2d32 Improve comformance to pep8 (+dos2unix)
PyGithub is now a public projects with several public contibutors,
I have to abandon my very personal coding conventions.
2012-09-17 20:37:22 +02:00

18 lines
298 B
Python

import sys
import unittest
import Framework
import AllTests
def main(argv):
if "--record" in argv:
Framework.activateRecordMode()
argv = [arg for arg in argv if arg != "--record"]
unittest.main(module=AllTests, argv=argv)
if __name__ == "__main__":
main(sys.argv)