1. David Black
  2. python junit xml output module

Commits

David Black  committed 50a2cb7

Fix the junit_xml_output/test.py module to be run when directly called.

Signed-off-by: David Black <dblack@atlassian.com>

  • Participants
  • Parent commits a13faf5
  • Branches master

Comments (0)

Files changed (1)

File junit_xml_output/test.py

View file
  • Ignore whitespace
 		self.assertEqual(junit.total_failures, 3)
 		junit.dump()
 
-if __name__=="__main_":
-	main()
+if __name__ == "__main__":
+	unittest.main()