aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'portage_with_autodep/pym/portage/tests/dep/testExtendedAtomDict.py')
-rw-r--r--portage_with_autodep/pym/portage/tests/dep/testExtendedAtomDict.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/portage_with_autodep/pym/portage/tests/dep/testExtendedAtomDict.py b/portage_with_autodep/pym/portage/tests/dep/testExtendedAtomDict.py
deleted file mode 100644
index 69d092e..0000000
--- a/portage_with_autodep/pym/portage/tests/dep/testExtendedAtomDict.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# test_isvalidatom.py -- Portage Unit Testing Functionality
-# Copyright 2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-from portage.tests import TestCase
-from portage.dep import ExtendedAtomDict
-
-class TestExtendedAtomDict(TestCase):
-
- def testExtendedAtomDict(self):
- d = ExtendedAtomDict(dict)
- d["*/*"] = { "test1": "x" }
- d["dev-libs/*"] = { "test2": "y" }
- d.setdefault("sys-apps/portage", {})["test3"] = "z"
- self.assertEqual(d.get("dev-libs/A"), { "test1": "x", "test2": "y" })
- self.assertEqual(d.get("sys-apps/portage"), { "test1": "x", "test3": "z" })
- self.assertEqual(d["dev-libs/*"], { "test2": "y" })
- self.assertEqual(d["sys-apps/portage"], {'test1': 'x', 'test3': 'z'})