(self)
| 123 | ) |
| 124 | |
| 125 | def testOfferCredit(self): |
| 126 | self.advisory.offer_credit("JLLeitschuh", "reporter") |
| 127 | self.assertListKeyEqual( |
| 128 | self.advisory.credits, |
| 129 | lambda e: e.login, |
| 130 | ["octocat", "JLLeitschuh"], |
| 131 | ) |
| 132 | self.assertListKeyEqual( |
| 133 | self.advisory.credits_detailed, |
| 134 | lambda e: e.user.login, |
| 135 | ["octocat", "JLLeitschuh"], |
| 136 | ) |
| 137 | |
| 138 | def testOfferCredits(self): |
| 139 | self.advisory.clear_credits() |
nothing calls this directly
no test coverage detected