'Tests that django decorators set certain attributes of the wrapped
function.'

def test_attributes(self):

    if ((version_info[0] >= 2) and (version_info[1] >= 4)):
        self.assertEquals(fully_decorated.__name__, 'fully_decorated')
    self.assertEquals(fully_decorated.__doc__, 'Expected    __doc__')
    self.assertEquals(fully_decorated.__dict__['anything'], 'Expected    __dict__')
