diff --git a/README.rst b/README.rst index e3b44d0..b3860c1 100644 --- a/README.rst +++ b/README.rst @@ -62,6 +62,7 @@ In the X Window System, Xvfb or X virtual framebuffer is an X11 server that perf class TestHomepages(unittest.TestCase): + def setUp(self): self.vdisplay = Xvfb(width=1280, height=720) self.vdisplay.start() diff --git a/xvfbwrapper/test_xvfb_selenium.py b/xvfbwrapper/test_xvfb_selenium.py index f5e2ab8..5417a21 100644 --- a/xvfbwrapper/test_xvfb_selenium.py +++ b/xvfbwrapper/test_xvfb_selenium.py @@ -7,6 +7,7 @@ import unittest class TestHomepages(unittest.TestCase): + def setUp(self): self.vdisplay = Xvfb(width=1280, height=720) self.vdisplay.start()