'Test that a range request with malformed Range (first_byte, last_byte == totalLength, offset by 1 error)
outputs 416 Requested Range Not Satisfiable.'

def test_range_request_malformed_out_of_bounds(self):

    resp = self.client.get(self.url_unlocked, HTTP_RANGE='bytes={first}-{last}'.format(first=self.length_unlocked, last=self.length_unlocked))
    self.assertEqual(resp.status_code, 416)
