twisted.application.runner.test.test_pidfile
module documentationtwisted.application.runner.test
Tests for twisted.application.runner._pidfile
.
Function | ifPlatformSupported | Decorator for tests that are not expected to work on all platforms. |
Class | PIDFileTests | Tests for PIDFile . |
Class | NonePIDFileTests | Tests for NonePIDFile . |
Class | DummyFilePath | In-memory IFilePath . |
Decorator for tests that are not expected to work on all platforms.
Calling PIDFile.isRunning
currently raises NotImplementedError
on non-POSIX platforms.
On an unsupported platform, we expect to see any test that calls PIDFile.isRunning
to raise either NotImplementedError
,
SkipTest
, or self.failureException
.
(self.failureException
may occur in a test that checks for a
specific exception but it gets NotImplementedError instead.)
Parameters | f | The test method to decorate. (type: method) |
Returns | The wrapped callable. |