process-tests 1.2.1
pip install process-tests==1.2.1
Newer version available (3.0.0)
Released:
Tools for testing processes
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD)
- Author: Ionel Cristian Mărieș
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
Tools for testing processes.
Usage
from process_tests import ProcessTestCase from process_tests import TestProcess class MyTestCase(ProcessTestCase): def test_simple(self): with TestProcess('mydaemon', 'arg1', 'arg2') as proc: with self.dump_on_error(proc.read): self.wait_for_strings(proc.read, 10, # wait 10 seconds for process to output lines with these strings 'Started', 'Working', 'Done', )
Features
TODO
Examples
https://github.com/ionelmc/python-redis-lock/blob/master/tests/test_redis_lock.py
https://github.com/ionelmc/python-manhole/blob/master/tests/test_manhole.py
https://github.com/ionelmc/python-stampede/blob/master/tests/test_stampede.py
https://github.com/ionelmc/python-remote-pdb/blob/master/tests/test_remote_pdb.py
TODO
tests
docs
Requirements
- OS:
Any
- Runtime:
Python 2.6, 2.7, 3.2, 3.3 or PyPy
Similar projects
TODO
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD)
- Author: Ionel Cristian Mărieș
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file process-tests-1.2.1.tar.gz
.
File metadata
- Download URL: process-tests-1.2.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65c9d7a0260f31c15b4a22a851757e61f7072d0557db5f8a976112fbe81ff7e9 |
|
MD5 | 97d523a15befaaf5f846b7b1a88d8e2c |
|
BLAKE2b-256 | fc02f74f38b10331e90ec7fd022f899c53d08e9802a35b97a57acd890bac5cce |
File details
Details for the file process_tests-1.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: process_tests-1.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4496f0e0278b11be6188d21a1d9e83d76fce4aaed7f94d0f2b312936176f8fe6 |
|
MD5 | c27bba0d5761982d584ac5899b8f1401 |
|
BLAKE2b-256 | 5b949c6b0c84df1a6928edddae8ddf8c5f4e40088bec303bf876f45dcf564844 |