##// END OF EJS Templates
Tests in test_process were failing on Windows. I have create a ticket...
Brian Granger -
Show More
@@ -19,6 +19,9 b' import sys'
19 from IPython.frontend._process import PipedProcess
19 from IPython.frontend._process import PipedProcess
20 from IPython.testing import decorators as testdec
20 from IPython.testing import decorators as testdec
21
21
22
23 # FIXME
24 @testdec.skip("This doesn't work under Windows")
22 def test_capture_out():
25 def test_capture_out():
23 """ A simple test to see if we can execute a process and get the output.
26 """ A simple test to see if we can execute a process and get the output.
24 """
27 """
@@ -29,6 +32,7 b' def test_capture_out():'
29 result = s.getvalue().rstrip()
32 result = s.getvalue().rstrip()
30 assert result == '1'
33 assert result == '1'
31
34
35
32 # FIXME
36 # FIXME
33 @testdec.skip("This doesn't work under Windows")
37 @testdec.skip("This doesn't work under Windows")
34 def test_io():
38 def test_io():
@@ -47,6 +51,8 b' def test_io():'
47 assert result == test_string
51 assert result == test_string
48
52
49
53
54 # FIXME
55 @testdec.skip("This doesn't work under Windows")
50 def test_kill():
56 def test_kill():
51 """ Check that we can kill a process, and its subprocess.
57 """ Check that we can kill a process, and its subprocess.
52 """
58 """
@@ -245,7 +245,7 b' class IEngineSerializedTestCase(object):'
245 self.assert_(es.IEngineSerialized.providedBy(self.engine))
245 self.assert_(es.IEngineSerialized.providedBy(self.engine))
246
246
247 def testIEngineSerializedInterfaceMethods(self):
247 def testIEngineSerializedInterfaceMethods(self):
248 """Does self.engine have the methods and attributes in IEngireCore."""
248 """Does self.engine have the methods and attributes in IEngineCore."""
249 for m in list(es.IEngineSerialized):
249 for m in list(es.IEngineSerialized):
250 self.assert_(hasattr(self.engine, m))
250 self.assert_(hasattr(self.engine, m))
251
251
@@ -288,7 +288,7 b' class IEngineQueuedTestCase(object):'
288 self.assert_(es.IEngineQueued.providedBy(self.engine))
288 self.assert_(es.IEngineQueued.providedBy(self.engine))
289
289
290 def testIEngineQueuedInterfaceMethods(self):
290 def testIEngineQueuedInterfaceMethods(self):
291 """Does self.engine have the methods and attributes in IEngireQueued."""
291 """Does self.engine have the methods and attributes in IEngineQueued."""
292 for m in list(es.IEngineQueued):
292 for m in list(es.IEngineQueued):
293 self.assert_(hasattr(self.engine, m))
293 self.assert_(hasattr(self.engine, m))
294
294
@@ -326,7 +326,7 b' class IEnginePropertiesTestCase(object):'
326 self.assert_(es.IEngineProperties.providedBy(self.engine))
326 self.assert_(es.IEngineProperties.providedBy(self.engine))
327
327
328 def testIEnginePropertiesInterfaceMethods(self):
328 def testIEnginePropertiesInterfaceMethods(self):
329 """Does self.engine have the methods and attributes in IEngireProperties."""
329 """Does self.engine have the methods and attributes in IEngineProperties."""
330 for m in list(es.IEngineProperties):
330 for m in list(es.IEngineProperties):
331 self.assert_(hasattr(self.engine, m))
331 self.assert_(hasattr(self.engine, m))
332
332
General Comments 0
You need to be logged in to leave comments. Login now