Added a option "mom_on_server=<boolean>" to existing requirement decorator
Description:
Test framework should have a option “mom_on_server=<boolean>” If test requirement is mom should be on server
Interface: @requirements(“mom_on_server”=<boolean>)
Details:
A new option “mom_on_server” is added to requirement decorator for test requirement “mom should be on server”. If test requirement is mom should be on server then (“mom_on_server” = True) and Default value is False means it doesn’t affect wherever mom is.
Tests skip with message “mom on server” if requirement doesn’t match.
Example:
@requirements(“mom_on_server”=True)
case 1: mom=host1
server=host1
test continued….
case 2:mom=host1
server=host2
test skipped with message “mom on server”