summaryrefslogtreecommitdiff
path: root/searx/tests/test_robot.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-01-10 19:49:37 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-01-10 19:49:37 +0100
commitdb615aa1a36cb5e136f6c264295a6e59f7466a9d (patch)
treed2b914aba39f9a095dcd0e7bc305c848605d18fb /searx/tests/test_robot.py
parent66f48c2bf5b84f6f7b52b1ba7217a1aadf5717b7 (diff)
parentc873ddd7fbbc6275d6f4eb5ff873768bf9c8a48c (diff)
Merge remote-tracking branch 'origin/install-refactor'
Diffstat (limited to 'searx/tests/test_robot.py')
-rw-r--r--searx/tests/test_robot.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/searx/tests/test_robot.py b/searx/tests/test_robot.py
deleted file mode 100644
index b48153fe4..000000000
--- a/searx/tests/test_robot.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- coding: utf-8 -*-
-
-import os
-import unittest2 as unittest
-from plone.testing import layered
-from robotsuite import RobotTestSuite
-from searx.testing import SEARXROBOTLAYER
-
-
-def test_suite():
- suite = unittest.TestSuite()
- current_dir = os.path.abspath(os.path.dirname(__file__))
- robot_dir = os.path.join(current_dir, 'robot')
- tests = [
- os.path.join('robot', f) for f in
- os.listdir(robot_dir) if f.endswith('.robot') and
- f.startswith('test_')
- ]
- for test in tests:
- suite.addTests([
- layered(RobotTestSuite(test), layer=SEARXROBOTLAYER),
- ])
- return suite