def test_create_token_fail(self):
        try:
            access.create_token(None)
            self.assertTrue(False, 'Create succeeded was expected to fail.')
        except __HOLE__:
            self.assertTrue(True)
dataset/ETHPy150Open StackStorm/st2/st2common/tests/unit/services/test_access.py/AccessServiceTest.test_create_token_fail