Reimar Bauer  committed 4e236dc

_ui_tests: skip if selenium is not installed

  • Participants
  • Parent commits d7ed70f
  • Branches default

Comments (0)

Files changed (1)

File _ui_tests/

 # License: GNU GPL v3 (or any later version), see LICENSE.txt for details.
 """Functions to facilitate functional testing"""
+import pytest
 import random
-from selenium import webdriver
+    from selenium import webdriver
+except ImportError:
+    pytest.skip('selenium needs to be installed for this test')
 import driver_register