MCPcopy Create free account
hub / github.com/Kaggle/docker-python / test_xvfb

Method test_xvfb

tests/test_xvfbwrapper.py:6–11  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4
5class TestXvfbwrapper(unittest.TestCase):
6 def test_xvfb(self):
7 vdisplay = Xvfb()
8 vdisplay.start()
9 display_var = ':{}'.format(vdisplay.new_display)
10 self.assertEqual(display_var, os.environ['DISPLAY'])
11 vdisplay.stop()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected