def test_parse_item__skips_standard(self): parser = CustomObjectParser("CustomObject", None, "object", False) self.assertEqual([], parser._parse_item("Account.object"))
def test_parse_item__skips_namespaced(self): parser = CustomObjectParser("CustomObject", None, "object", False) self.assertEqual([], parser._parse_item("ns__Object__c.object"))
def test_parse_item(self): parser = CustomObjectParser("CustomObject", None, "object", False) self.assertEqual(["Test__c"], parser._parse_item("Test__c.object"))
def test_parse_item__skips_standard(self): parser = CustomObjectParser("CustomObject", None, "object", False) self.assertEqual([], parser._parse_item("Account.object"))
def test_parse_item__skips_namespaced(self): parser = CustomObjectParser("CustomObject", None, "object", False) self.assertEqual([], parser._parse_item("ns__Object__c.object"))
def test_parse_item(self): parser = CustomObjectParser("CustomObject", None, "object", False) self.assertEqual(["Test__c"], parser._parse_item("Test__c.object"))