def test_range_str_end_none_negative_start(): range = Range(((0, 100),)) # Manually set test values range.ranges = ((-5, None),) assert_equal(range.__str__(), "bytes=-5")
def test_range_str_end_none_negative_start(): range = Range(((0, 100), )) # Manually set test values range.ranges = ((-5, None), ) assert_equal(range.__str__(), 'bytes=-5')
def test_range_str_end_none(): range = Range(((0, 100),)) # Manually set test values range.ranges = ((0, None),) assert_equal(range.__str__(), "bytes=0-")
def test_range_str_end_none(): range = Range(((0, 100), )) # Manually set test values range.ranges = ((0, None), ) assert_equal(range.__str__(), 'bytes=0-')