1. Roger Haase
  2. moin-2.0


Reimar Bauer  committed d9429da

_ui_tests: skip if wiki server is not running

  • Participants
  • Parent commits 5b81e54
  • Branches default

Comments (0)

Files changed (1)

File _ui_tests/utils.py

View file
  • Ignore whitespace
 except ImportError:
     pytest.skip('selenium needs to be installed for this test')
+import config
+import urllib
+    f = urllib.urlopen(config.BASE_URL)
+except IOError:
+    pytest.skip('The UI tests need a wiki server running on %s' % config.BASE_URL)
 import driver_register