def test_authenticate(self): obj = NoOpAuthenticator.authenticate('test123') assert isinstance(obj, NoOpAuthenticator) is True assert obj.identifier == 'test123'