def test_get_next_available_port(self):
        url = "127.0.0.1"
        port = 8081
        self.assertEquals(8081, get_next_available_port(url, port))
        with sleuth.switch("djangae.utils.port_is_open",
                lambda *args, **kwargs: False if 8085 < args[1] else True):
            self.assertEquals(8085, get_next_available_port(url, port))
dataset/ETHPy150Open potatolondon/djangae/djangae/tests/test_utils.py/AvailablePortTests.test_get_next_available_port/swapped operands of `<`