summaryrefslogtreecommitdiff
path: root/manage.sh
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-01-02 12:15:47 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-01-10 19:23:10 +0100
commit39d2e0427f496e321a38e8a57b01a2c6043d2339 (patch)
tree4783f3af8f69a13a71598e8e57a96694310779f5 /manage.sh
parent3498b7c53fa73d627ff4f1b858f4dfd5008008f2 (diff)
downloadsearxng-39d2e0427f496e321a38e8a57b01a2c6043d2339.tar.gz
searxng-39d2e0427f496e321a38e8a57b01a2c6043d2339.zip
[fix] robot tests and pep8 check
Diffstat (limited to 'manage.sh')
-rwxr-xr-xmanage.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/manage.sh b/manage.sh
index 39a8e27d3..cf2662850 100755
--- a/manage.sh
+++ b/manage.sh
@@ -15,7 +15,7 @@ update_dev_packages() {
pep8_check() {
echo '[!] Running pep8 check'
- pep8 "$SEARX_DIR" "$BASE_DIR/tests"
+ pep8 --max-line-length=120 "$SEARX_DIR" "$BASE_DIR/tests"
}
unit_tests() {
@@ -32,8 +32,7 @@ py_test_coverage() {
robot_tests() {
echo '[!] Running robot tests'
- python -c "import zope.testrunner; import sys; sys.exit(zope.testrunner.run("\
-"['--color', '--auto-progress', '--layer', 'SearxRobotLayer', '--test-path', '$BASE_DIR']))"
+ PYTHONPATH=`pwd` python "$SEARX_DIR/testing.py" robot
}
tests() {