Added unit tests to verify check_condition function of views.py file:
	check_condition function is used to check if a package need to be install
Fix unit test
Merge branch 'master' into dev_v2