diff options
Diffstat (limited to 'pym/portage/tests/sets/shell')
-rw-r--r-- | pym/portage/tests/sets/shell/__init__.py | 0 | ||||
-rw-r--r-- | pym/portage/tests/sets/shell/__test__ | 0 | ||||
-rw-r--r-- | pym/portage/tests/sets/shell/testShell.py | 29 |
3 files changed, 0 insertions, 29 deletions
diff --git a/pym/portage/tests/sets/shell/__init__.py b/pym/portage/tests/sets/shell/__init__.py deleted file mode 100644 index e69de29bb..000000000 --- a/pym/portage/tests/sets/shell/__init__.py +++ /dev/null diff --git a/pym/portage/tests/sets/shell/__test__ b/pym/portage/tests/sets/shell/__test__ deleted file mode 100644 index e69de29bb..000000000 --- a/pym/portage/tests/sets/shell/__test__ +++ /dev/null diff --git a/pym/portage/tests/sets/shell/testShell.py b/pym/portage/tests/sets/shell/testShell.py deleted file mode 100644 index f8982575a..000000000 --- a/pym/portage/tests/sets/shell/testShell.py +++ /dev/null @@ -1,29 +0,0 @@ -# testCommandOututSet.py -- Portage Unit Testing Functionality -# Copyright 2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -from portage.process import find_binary -from portage.tests import TestCase, test_cps -from portage._sets.shell import CommandOutputSet - -class CommandOutputSetTestCase(TestCase): - """Simple Test Case for CommandOutputSet""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCommand(self): - - input = set(test_cps) - command = find_binary("bash") - command += " -c '" - for a in input: - command += " echo -e \"%s\" ; " % a - command += "'" - s = CommandOutputSet(command) - atoms = s.getAtoms() - self.assertEqual(atoms, input) |