@@ -1,23 +0,0 @@
1−# -*- coding: utf-8 -*-
2−
3−import os
4−import unittest2 as unittest
5−from plone.testing import layered
6−from robotsuite import RobotTestSuite
7−from searx.testing import SEARXROBOTLAYER
8−
9−
10−def test_suite():
11− suite = unittest.TestSuite()
12− current_dir = os.path.abspath(os.path.dirname(__file__))
13− robot_dir = os.path.join(current_dir, 'robot')
14− tests = [
15− os.path.join('robot', f) for f in
16− os.listdir(robot_dir) if f.endswith('.robot') and
17− f.startswith('test_')
18− ]
19− for test in tests:
20− suite.addTests([
21− layered(RobotTestSuite(test), layer=SEARXROBOTLAYER),
22− ])
23− return suite