Exception Handling and Unittests

July 20, 2013 - 2 minute read -
exceptions unittest python gsoc

Commits:

What I Did Today..

  • I modified server.py. I finally learnt what the decorator operator in Python does. I added properties for path, video_port, audio_port, control_port and record_file. This allowed me to add exception handlers. Also detection of errors and raising is possible.
  • I wrote unittests test_server.py
  • . These cover almost all errors that may come up in server.py

Problems I Faced..

Next What..

Do the same for all other files (Write properties wherever required and unittests)

Comments Section

Feel free to comment on the post but keep it clean and on topic.

blog comments powered by Disqus