Commits:
- Added unittests for server.py: e93df29e12b92c87cfbdf2878682920fb0513437
- Added properties for server.py: b1fb7f1bd5226f666c47555b360a97c208951499
- Documentation: server.py: be12843f29839b6f9875b71c59c386e044256170
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..
- Using properties: Very nicely explained at:
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