File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ def test_privileged_extension(self):
337
337
args = p .get_docker_args (mock_cliargs )
338
338
self .assertTrue ('--privileged' in args )
339
339
340
-
340
+ @ pytest . mark . skipif ( sys . platform . startswith ( "win" ), reason = "User mapping not supported on Windows" )
341
341
class UserExtensionTest (unittest .TestCase ):
342
342
343
343
def setUp (self ):
@@ -351,7 +351,6 @@ def setUp(self):
351
351
# "em.Error: interpreter stdout proxy lost"
352
352
em .Interpreter ._wasProxyInstalled = False
353
353
354
- @pytest .mark .skipif (sys .platform .startswith ("win" ), "User mapping not supported on Windows" )
355
354
def test_user_extension (self ):
356
355
import pwd
357
356
@@ -471,6 +470,7 @@ def test_user_collisions(self):
471
470
dig .clear_image ()
472
471
473
472
473
+ @pytest .mark .skipif (sys .platform .startswith ("win" ), reason = "Pulse not supported on Windows" )
474
474
class PulseExtensionTest (unittest .TestCase ):
475
475
476
476
def setUp (self ):
@@ -519,6 +519,7 @@ def test_pulse_extension(self):
519
519
&& apt-get clean
520
520
"""
521
521
522
+ @pytest .mark .skipif (sys .platform .startswith ("win" ), reason = "DevHelper not supported on Windows" )
522
523
class DevHelpersExtensionTest (unittest .TestCase ):
523
524
524
525
def setUp (self ):
Original file line number Diff line number Diff line change 34
34
35
35
36
36
@pytest .mark .docker
37
- @pytest .mark .skipif (sys .platform .startswith ("win" ), "X11 not supported on Windows" )
37
+ @pytest .mark .skipif (sys .platform .startswith ("win" ), reason = "X11 not supported on Windows" )
38
38
class X11Test (unittest .TestCase ):
39
39
@classmethod
40
40
def setUpClass (self ):
@@ -95,7 +95,6 @@ def test_x11_extension_nocleanup(self):
95
95
# TODO(tfoote) do more to check that it doesn't actually clean up.
96
96
# This is more of a smoke test
97
97
98
- @pytest .mark .skipif (sys .platform .startswith ("win" ), "X11 not supported on Windows" )
99
98
def test_no_x11_xpdyinfo (self ):
100
99
for tag in self .dockerfile_tags :
101
100
dig = DockerImageGenerator ([], {}, tag )
@@ -114,7 +113,7 @@ def test_x11_xpdyinfo(self):
114
113
115
114
116
115
@pytest .mark .docker
117
- @pytest .mark .skipif (sys .platform .startswith ("win" ), "NVIDIA not supported on Windows" )
116
+ @pytest .mark .skipif (sys .platform .startswith ("win" ), reason = "NVIDIA not supported on Windows" )
118
117
class NvidiaTest (unittest .TestCase ):
119
118
@classmethod
120
119
def setUpClass (self ):
You can’t perform that action at this time.
0 commit comments