def __repr__(self):
        if hasattr(self, 'spatial'):
            return '<Persistent Store: name={0}, initializer={1}, spatial={2}>'.format(self.name,
                                                                                       self.initializer,
                                                                                       self.spatial)
        else:
            return '<Persistent Store: name={0}, initializer={1}, spatial={2}>'.format(self.name,
                                                                                       self.initializer,
                                                                                       self.postgis)
Tests a valid logout and make sure the logout_time is updated
dataset/ETHPy150Open tethysplatform/tethys/tethys_apps/base/persistent_store.py/PersistentStore.__repr__--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/django-axes-1.4.0/axes/tests.py/AccessAttemptTest.test_valid_logout