def test_model_AccessEntity(self):
        obj = AccessEntity()
        obj.save()
        self.assertTrue(obj.last_updated - datetime.datetime.now() < datetime.timedelta(seconds=1))

        self.assertIsNone(obj.get_entity())
        self.assertFalse(obj.is_user())
        self.assertEqual(obj.__unicode__(), str(obj.id))
        self.assertEqual(obj.get_absolute_url(), '')
dataset/ETHPy150Open treeio/treeio/treeio/core/tests.py/CoreModelsTest.test_model_AccessEntity/original