[PATCH 1 of 4] [test/test_s3storage] remove unused .eid

Arthur Lutz arthur.lutz at logilab.fr
Fri Sep 20 14:42:25 CEST 2019


# HG changeset patch
# User Arthur Lutz <arthur.lutz at logilab.fr>
# Date 1568909433 -7200
#      Thu Sep 19 18:10:33 2019 +0200
# Node ID 99b9849d5a001fc022d028ef3d727d75322cfd9a
# Parent  44ba282e4fb4ea22af1da4dc45200dadf1e52b67
# EXP-Topic custom-s3-endpoint
[test/test_s3storage] remove unused .eid

diff -r 44ba282e4fb4 -r 99b9849d5a00 test/test_s3storage.py
--- a/test/test_s3storage.py	Fri Aug 23 12:28:25 2019 +0200
+++ b/test/test_s3storage.py	Thu Sep 19 18:10:33 2019 +0200
@@ -101,7 +101,7 @@
 
     def test_entity_migration(self):
         with self.admin_access.client_cnx() as cnx:
-            create_image(cnx, thumbnail=Binary(b'some content')).eid
+            create_image(cnx, thumbnail=Binary(b'some content'))
             cnx.commit()
 
         # Re-use storage instance of "data" attribute as it already has s3



More information about the cubicweb-devel mailing list