'The checkers in a portal can check only certain types of credentials.
Since this portal has
L{checkers.InMemoryUsernamePasswordDatabaseDontUse} registered, it'

def test_listCheckers(self):

    expected = [credentials.IUsernamePassword, credentials.IUsernameHashedPassword]
    got = self.portal.listCredentialsInterfaces()
    self.assertEqual(sorted(got), sorted(expected))
