mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-04 04:04:10 +00:00
Skip the pidfile test on Windows where there are no pidfiles
This commit is contained in:
parent
9958236c31
commit
190d9a7319
@ -6,12 +6,19 @@ from six.moves import (
|
|||||||
StringIO,
|
StringIO,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from testtools import (
|
||||||
|
skipIf,
|
||||||
|
)
|
||||||
|
|
||||||
from testtools.matchers import (
|
from testtools.matchers import (
|
||||||
Contains,
|
Contains,
|
||||||
Equals,
|
Equals,
|
||||||
HasLength,
|
HasLength,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from twisted.python.runtime import (
|
||||||
|
platform,
|
||||||
|
)
|
||||||
from twisted.python.filepath import (
|
from twisted.python.filepath import (
|
||||||
FilePath,
|
FilePath,
|
||||||
)
|
)
|
||||||
@ -134,6 +141,7 @@ class RunTests(SyncTestCase):
|
|||||||
"""
|
"""
|
||||||
Tests for ``run``.
|
Tests for ``run``.
|
||||||
"""
|
"""
|
||||||
|
@skipIf(platform.isWindows(), "There are no PID files on Windows.")
|
||||||
def test_non_numeric_pid(self):
|
def test_non_numeric_pid(self):
|
||||||
"""
|
"""
|
||||||
If the pidfile exists but does not contain a numeric value, a complaint to
|
If the pidfile exists but does not contain a numeric value, a complaint to
|
||||||
|
Loading…
Reference in New Issue
Block a user