Skip to content

Commit

Permalink
Test order fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
katyukha committed Jul 20, 2015
1 parent 00ae5c4 commit 1fee36d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -19,7 +19,7 @@ before_script:
- sleep 5

script:
- coverage run --source openerp_proxy -m unittest discover -v
- coverage run --source openerp_proxy -m unittest -v openerp_proxy.tests.all

after_success:
- coveralls
2 changes: 2 additions & 0 deletions openerp_proxy/tests/all.py
@@ -0,0 +1,2 @@
from .test_connection import *
from .test_client import *
Expand Up @@ -6,7 +6,7 @@
from openerp_proxy.exceptions import LoginException


class TestClient(BaseTestCase):
class Test_10_Client(BaseTestCase):

def setUp(self):
super(self.__class__, self).setUp()
Expand Down
Expand Up @@ -3,7 +3,7 @@
from openerp_proxy.exceptions import LoginException


class TestConnection(BaseTestCase):
class Test_00_Connection(BaseTestCase):

def setUp(self):
super(self.__class__, self).setUp()
Expand Down
2 changes: 1 addition & 1 deletion run_tests.sh
Expand Up @@ -4,4 +4,4 @@ SCRIPT=`readlink -f "$0"`
# Absolute path this script is in, thus /home/user/bin
SCRIPTPATH=`dirname "$SCRIPT"`

(cd $SCRIPTPATH && coverage run --source openerp_proxy -m unittest discover -v && coverage html -d coverage)
(cd $SCRIPTPATH && rm .coverage && coverage run --source openerp_proxy -m unittest -v openerp_proxy.tests.all && coverage html -d coverage)

0 comments on commit 1fee36d

Please sign in to comment.