':rtype: str'

def format_command(self):

    command = ('ansible-test    %s' % self.command)
    if self.test:
        command += ('    --test    %s' % self.test)
    if self.python_version:
        command += ('    --python    %s' % self.python_version)
    return command
