From 32ea0ccb70e2236b3b6a211415495518f2cc9966 Mon Sep 17 00:00:00 2001 From: Paul Gevers Date: Thu, 1 Nov 2018 15:22:02 +0100 Subject: [PATCH] tests: naming of variables in test_policy:apply_policy is highly confusing --- tests/test_policy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_policy.py b/tests/test_policy.py index b56e4fa..30460b1 100644 --- a/tests/test_policy.py +++ b/tests/test_policy.py @@ -53,8 +53,8 @@ def create_policy_objects(source_name, target_version, source_version): ) -def apply_policy(policy, expected_verdict, src_name, *, suite='unstable', source_version='1.0', target_version='2.0'): - src_t, src_u, excuse, policy_info = create_policy_objects(src_name, source_version, target_version) +def apply_policy(policy, expected_verdict, src_name, *, suite='unstable', target_version='1.0', source_version='2.0'): + src_t, src_u, excuse, policy_info = create_policy_objects(src_name, target_version, source_version) suite_info = policy.suite_info suite_info.target_suite.sources[src_name] = src_t suite_info[suite].sources[src_name] = src_u