diff options
Diffstat (limited to 'tests/portage_util/test_stackDictList.py')
-rw-r--r-- | tests/portage_util/test_stackDictList.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/portage_util/test_stackDictList.py b/tests/portage_util/test_stackDictList.py deleted file mode 100644 index 9e7a38ba1..000000000 --- a/tests/portage_util/test_stackDictList.py +++ /dev/null @@ -1,18 +0,0 @@ -# test_stackDictList.py -- Portage Unit Testing Functionality -# Copyright 2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -from unittest import TestCase - -class StackDictListTestCase(TestCase): - - def testStackDictList(self): - from portage.util import stack_dictlist - - tests = [ ({'a':'b'},{'x':'y'},False,{'a':['b'],'x':['y']}) ] - tests.append(( {'KEYWORDS':['alpha','x86']},{'KEYWORDS':['-*']},True,{} )) - tests.append(( {'KEYWORDS':['alpha','x86']},{'KEYWORDS':['-x86']},True,{'KEYWORDS':['alpha']} )) - for test in tests: - self.assertEqual( - stack_dictlist([test[0],test[1]],incremental=test[2]), test[3] ) |