Revision: 719
Author: keith.dart
Date: Mon May 6 20:16:44 2013
Log: Remove old proctools test module.
http://code.google.com/p/pycopia/source/detail?r=719
Deleted:
/testing/testcases/unittests/process/proctools.py
=======================================
--- /testing/testcases/unittests/process/proctools.py Thu Apr 19 22:27:08
2012
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/python
-# -*- coding: us-ascii -*-
-# vim:ts=4:sw=4:softtabstop=0:smarttab
-
-"""
-Module Heading XXX
-------------------
-
-Some information about this module.
-
-"""
-
-from pycopia.QA import core
-
-from pycopia import proctools
-
-
-class SpawnPipe(core.Test):
-
- PREREQUISITES = []
-
- def execute(self):
- pm = proctools.get_procmanager()
- proc = pm.spawnpipe("/bin/ls")
- proc.environment
- proc.read()
- es = proc.wait()
- if es:
- return self.passed("Run ls with good exit status.")
- else:
- self.diagnostic(es)
- return self.failed("Bad exit status.")
-
-
-
-def get_suite(config):
- suite = core.TestSuite(config, name="ProctoolsSuite")
- suite.add_test(SpawnPipe)
- return suite
-
-def run(config):
- suite = get_suite(config)
- suite.run()
-