def test_twice_range_exception(self): sheet = Sheet(SA_PATH).sheet_id(SHEET_ID).worksheet("Sheet1!A2:C6") with self.assertRaises(ValueError): sheet.range("B3:B8")
def test_call_range_first_exception(self): sheet = Sheet(SA_PATH).sheet_id(SHEET_ID) with self.assertRaises(ValueError): sheet.range("B3:B8")