def test_command_valid_mops_when_missing(): for command in test_commands_without_mops: set_sysargv(command) c = Command() assert c.validates_includes_mops() == False
def test_command_valid_mops(): for command in test_commands_with_mops: set_sysargv(command) c = Command() assert c.validates_includes_mops() == True