Step 1: Write the python program for sum of digits of a number. Step 2: Make sure that function name should be “def test_*():” and the line to be tested should have assert keyword at the beginning.