Commit d1d393f9 authored by Alex Gaynor's avatar Alex Gaynor Committed by Alex Gaynor
Browse files

Allow tests using a LiveServer to get closer to working.

parent dfbcbf21
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1134,7 +1134,7 @@ class LiveServerTestCase(TransactionTestCase):
            host, port_ranges = specified_address.split(':')
            for port_range in port_ranges.split(','):
                # A port range can be of either form: '8000' or '8000-8010'.
                extremes = map(int, port_range.split('-'))
                extremes = list(map(int, port_range.split('-')))
                assert len(extremes) in [1, 2]
                if len(extremes) == 1:
                    # Port range of the form '8000'