From 6419136fa129baa308471db3958920617451b277 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 16 Apr 2012 19:24:52 +0200 Subject: tests/test_policy.py: fix test to include priority of 1 too --- tests/test_policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_policy.py b/tests/test_policy.py index d77fb27e..f7d41152 100644 --- a/tests/test_policy.py +++ b/tests/test_policy.py @@ -24,7 +24,7 @@ class TestAptPolicy(unittest.TestCase): lowlevel_ver = ver._cand for pkgfile, i in lowlevel_ver.file_list: #print pkgfile, i, policy.get_priority(pkgfile) - self.assertTrue(policy.get_priority(pkgfile) > 1) + self.assertTrue(policy.get_priority(pkgfile) >= 1) self.assertTrue(policy.get_priority(pkgfile) < 1001) def test_apt_policy_highlevel(self): -- cgit v1.2.3