[PATCH 1 of 2 saem_ref] [test] Give a more specific name to test method in SEDAArchiveTransferHooksTC

Denis Laxalde denis.laxalde at logilab.fr
Wed Mar 21 14:25:29 CET 2018


# HG changeset patch
# User Denis Laxalde <denis.laxalde at logilab.fr>
# Date 1521637643 -3600
#      Wed Mar 21 14:07:23 2018 +0100
# Node ID 769b49630c5d7e2ecbeb00631d624a3c9de34368
# Parent  7c09d0a4764adc4f19d7cd6b693cc69c636832b4
# Available At http://hg.logilab.org/review/cubes/saem_ref
#              hg pull http://hg.logilab.org/review/cubes/saem_ref -r 769b49630c5d
# EXP-Topic deprecated-profiles-in-ou-tab
[test] Give a more specific name to test method in SEDAArchiveTransferHooksTC

We're going to add another method, a more generic will help distinguish
their respective purpose.

diff --git a/test/unittest_hooks.py b/test/unittest_hooks.py
--- a/test/unittest_hooks.py
+++ b/test/unittest_hooks.py
@@ -614,7 +614,7 @@ class SEDAArchiveTransferHooksTC(CubicWe
 
     configcls = PostgresApptestConfiguration
 
-    def test_profile_deprecated(self):
+    def test_profile_deprecated_by_published_successor(self):
         """Test hook deprecating a SEDA Profile upon successor publication."""
         with self.admin_access.repo_cnx() as cnx:
             profile = testutils.setup_profile(cnx)



More information about the saem-devel mailing list