mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
PyGithub is now a public projects with several public contibutors, I have to abandon my very personal coding conventions.
18 lines
298 B
Python
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)
|