diff options
| author | a01200356 <a01200356@itesm.mx> | 2016-01-10 19:29:05 -0600 |
|---|---|---|
| committer | a01200356 <a01200356@itesm.mx> | 2016-01-10 19:29:05 -0600 |
| commit | 4130b3dfd640d4e4f88937e79648cfe7929dca43 (patch) | |
| tree | baeb2d7460e23f42d5899ca91fa45daf8f825771 /searx/tests/test_robot.py | |
| parent | 3bbdb23fd86a65d9c982aa34ee42326fa3dd9bc1 (diff) | |
| parent | 6a158ca2d2c5fdec597f1025c58fad90a57312dc (diff) | |
Merge branch 'master' of https://github.com/asciimoo/searx
Conflicts:
searx/tests/test_engines.py
Diffstat (limited to 'searx/tests/test_robot.py')
| -rw-r--r-- | searx/tests/test_robot.py | 23 |
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 |