def METHOD_NAME(self):
    context_entered = False
    with Context(port=9090) as ctx:
        self.assertEqual(ctx.status, Context.STATUS_READY)
        context_entered = True
    self.assertTrue(context_entered)