def reverse(self):
        """Toggles direction of test

        :rtype: bool
        """
        enabled = self.lib.iperf_get_test_reverse(self._test)

        if enabled:
            self._reverse = True
        else:
            self._reverse = False

        return self._reverse
def reverse ( self ) : enabled = self . lib . iperf_get_test_reverse ( self . _test ) if enabled : self . _reverse = True else : self . _reverse = False return self . _reverse
Toggles direction of test

        :rtype: bool