Skip to content

Commit

Permalink
Tests: test that app starts
Browse files Browse the repository at this point in the history
  • Loading branch information
katyukha committed Mar 23, 2016
1 parent 9d6f786 commit 0c12826
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ before_script:
- "sleep 5"

script:
- "openerp_proxy <<< 'print(42);exit';" # Test that it runs via 'openerp_proxy' command
- "coverage run -p setup.py test"
- "coverage combine"

Expand Down
2 changes: 1 addition & 1 deletion run_tests.bash
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function run_single_test {
set +e # allow errors

# Run tests
coverage run -p setup.py test $TEST_MODULE_OPT
openerp_proxy <<< "print('It runs');exit;" && coverage run -p setup.py test $TEST_MODULE_OPT
res=$?; # save test results

set -e # disallow errors
Expand Down

0 comments on commit 0c12826

Please sign in to comment.