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