appengine_django/tests/commands_test.py
def assertCommandSucceeds(self, command, *args, **kwargs):
    """Asserts that the specified command successfully completes.

    Args:
      command: The name of the command to run.
      All other arguments are passed directly through to the runCommand
      routine.

    Raises:
      This function does not return anything but will raise assertion errors if
      the command does not exit successfully.
    """
    rc, stdout, stderr = self.runCommand(command, *args, **kwargs)
    fd, tempname = tempfile.mkstemp()
    os.write(fd, stdout)
    os.close(fd)
    self.assertEquals(0, rc,
                      "%s did not return successfully (rc: %d): Output in %s" %
                      (command, rc, tempname))
    os.unlink(tempname)
Asserts that the specified command successfully completes.

    Args:
      command: The name of the command to run.
      All other arguments are passed directly through to the runCommand
      routine.

    Raises:
      This function does not return anything but will raise assertion errors if
      the command does not exit successfully.
    
Asserts that the specified command successfully completes.
Args:
command: The name of the command to run.
All other arguments are passed directly through to the runCommand
routine.

This function does not return anything but will raise assertion errors if
the command does not exit successfully.
Asserts that the specified command successfully completes . Args : command : The name of the command to run . All other arguments are passed directly through to the runCommand routine . This function does not return anything but will raise assertion errors if the command does not exit successfully .
def assertCommandSucceeds(self, command, *args, **kwargs):
    rc, stdout, stderr = self.runCommand(command, *args, **kwargs)
    fd, tempname = tempfile.mkstemp()
    os.write(fd, stdout)
    os.close(fd)
    self.assertEquals(0, rc,
                      "%s did not return successfully (rc: %d): Output in %s" %
                      (command, rc, tempname))
    os.unlink(tempname)
def assertCommandSucceeds ( self , command , * args , ** kwargs ) : rc , stdout , stderr = self . runCommand ( command , * args , ** kwargs ) fd , tempname = tempfile . mkstemp ( ) os . write ( fd , stdout ) os . close ( fd ) self . assertEquals ( 0 , rc , "%s did not return successfully (rc: %d): Output in %s" % ( command , rc , tempname ) ) os . unlink ( tempname )
Asserts that the specified command successfully completes.
Asserts that the specified command successfully completes .
"""Asserts that the specified command successfully completes.

    Args:
      command: The name of the command to run.
      All other arguments are passed directly through to the runCommand
      routine.

    Raises:
      This function does not return anything but will raise assertion errors if
      the command does not exit successfully.
    """
self
command