Skip to content

Commit

Permalink
Tell pytest not to execute Python code in node_modules for web proxy.
Browse files Browse the repository at this point in the history
Causes test execution to fail for me.
  • Loading branch information
jmchilton committed Sep 7, 2018
1 parent ae7b4fd commit 69252d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_tests.sh
Expand Up @@ -510,7 +510,7 @@ do
-u|-unit|--unit)
report_file="run_unit_tests.html"
test_script="pytest"
unit_extra='--doctest-modules --ignore lib/galaxy/webapps/tool_shed/controllers --ignore lib/galaxy/jobs/runners/chronos.py --ignore lib/galaxy/webapps/tool_shed/model/migrate --ignore lib/galaxy/util/jstree.py'
unit_extra='--doctest-modules --ignore lib/galaxy/web/proxy/js/node_modules/ --ignore lib/galaxy/webapps/tool_shed/controllers --ignore lib/galaxy/jobs/runners/chronos.py --ignore lib/galaxy/webapps/tool_shed/model/migrate --ignore lib/galaxy/util/jstree.py'
if [ $# -gt 1 ]; then
unit_extra="$unit_extra $2"
shift 2
Expand Down

0 comments on commit 69252d7

Please sign in to comment.