Python

From MyCGDoc
Revision as of 14:54, 19 December 2019 by Mdadminpal (talk | contribs) (Initial setup of page and include ref to use of __name__ for unittest)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Protocol

Unittest Checklist

Use __name__ check to run test of imported module:

   if __name__ == "__main__":
       unittest.main()

Reference: Python __name__



Libraries

  • [Library]

Resources

  • [Reference]