def test_has_role(self):
     creds = Credentials(role='my_role')
     self.assertTrue(creds.has_role())