def AssertRC(self, rc=0):
        """ Assert used for testing on certain RC values

        :raises: ``AssertionError``
        """
        assert self.rc == rc, "Command `%s` failed. $? expected: %d, $? given: %d" % (self.command, rc, self.rc)
Assert used for testing on certain RC values

        :raises: ``AssertionError``