'Verify attribute access falls back to current request'

def testAttributeFallback(self):

    request = current.request
    assertIn = self.assertIn
    assertNotIn = self.assertNotIn
    assertTrue = self.assertTrue
    fallback = request.args
    override = ['override']
    context = S3DashboardContext(request)
    assertNotIn('args', context.__dict__)
    assertTrue((context.args is fallback))
    context.args = override
    assertIn('args', context.__dict__)
    assertTrue((request.args is fallback))
    assertTrue((context.args is override))
