

def _assert_case_revision(self, rev_number, last_modified, expect_modified=False):
    if should_use_sql_backend(self.domain):
        self.assertEqual(doc, CaseAccessorSQL.case_modified_since(self.case_id, last_modified))
    else:
        doc = self._get_case()
        self.assertTrue(doc['_rev'].startswith(('%s-' % rev_number)))

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/data_interfaces/tests/test_auto_case_updates.py AutomaticCaseUpdateTest._assert_case_revision/VarMisuse@32/48 `expect_modified`->`doc`