(self, obj)
| 146 | self.assertEqual(sum(len(attrs) for attrs in missingAttributes.values()), 0) |
| 147 | |
| 148 | def findMissingAttributes(self, obj): |
| 149 | if isinstance(obj, github.GithubObject.CompletableGithubObject): |
| 150 | obj.update() |
| 151 | className = obj.__class__.__name__ |
| 152 | missingAttributes = {} |
| 153 | for attribute in obj.raw_data: |
| 154 | if attribute != "_links": |
| 155 | if not hasattr(obj, attribute): |
| 156 | missingAttributes[attribute] = obj.raw_data[attribute] |
| 157 | return (className, missingAttributes) |
| 158 | |
| 159 | def gatherMissingAttributes(self, objs): |
| 160 | allMissingAttributes = dict() |
no test coverage detected