diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-11-15 10:13:10 +0100 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2020-12-01 15:07:09 +0100 |
| commit | a302ac56293230fd73817ad091153efbd143603a (patch) | |
| tree | ddc0fba2d014d80c6f36f492b178285e0c34b4ef /tests/test_robot.py | |
| parent | a1e6bc4cee2690eb7f2103901ada9a50846a7419 (diff) | |
[mod] remove dead code
Diffstat (limited to 'tests/test_robot.py')
| -rw-r--r-- | tests/test_robot.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/test_robot.py b/tests/test_robot.py deleted file mode 100644 index b48153fe4..000000000 --- a/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 |