fixtures.parallelizer.remote module¶
-
class
fixtures.parallelizer.remote.
SlaveManager
(config, slaveid, base_url, zmq_endpoint)[source]¶ Bases:
object
SlaveManager which coordinates with the master process for parallel testing
-
message
(message, **kwargs)[source]¶ Send a message to the master, which should get printed to the console
-
pytest_collection_finish
(session)[source]¶ pytest collection hook
- Sends collected tests to the master for comparison
-
pytest_internalerror
(excrepr)[source]¶ pytest internal error hook
- logs full traceback
- reports short traceback to the py.test console
-
pytest_runtest_logreport
(report)[source]¶ pytest runtest logreport hook
- sends serialized log reports to the master
-
pytest_runtest_logstart
(nodeid, location)[source]¶ pytest runtest logstart hook
- sends logstart notice to the master
-
-
fixtures.parallelizer.remote.
serialize_report
(rep)[source]¶ Get a
TestReport
ready to send to the master