    def test_get_attributes(self):
        '''Tests grabbing attributes like a dictionary.'''
        test_user = user.User({'alphabet': 'soup',
                               'animal': 'crackers'},
                               None, None)
        assert test_user['alphabet'] == 'soup'
        assert test_user['animal'] == 'crackers'
Tests grabbing attributes like a dictionary.
tests/user_test.py