Exam 200-901 Question id=6188 Application Deployment and Security

A function my_func() returns True when it executes normally. Which Python snippet tests my_func()?

A. def test_func(self): self.assertTrue(my_func())
B. def test_func(self): self.assertFalse(my_func())
C. def test_func(self): self.assertEqual(my_func(), '{true}')
D. def test_func(self): self.assertRaises(my_func())

WARNING

the answers are mixed, do not specify in the comment number or the letter of the answer
please write answer#A instead A, answer#B instead B...
Subject:

only logged users can write comments