Skip to content

Commit

Permalink
fix tests looking for old pkg dir path
Browse files Browse the repository at this point in the history
  • Loading branch information
calmrat committed Sep 5, 2015
1 parent a35de28 commit 5c02822
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -10,7 +10,7 @@ before_install:
install:
- "python setup.py install"
script:
- "coverage run --source=status_report -m py.test source/tests"
- "coverage run --source=status_report -m py.test tests"
after_success:
- coveralls
- coverage report
4 changes: 2 additions & 2 deletions tests/test_plugins/test_git.py
Expand Up @@ -13,8 +13,8 @@ class Mock(object):


script_path = os.path.dirname(os.path.realpath(__file__))
# go all the way to the git repo root (3 levels up)
git_path = os.path.realpath('{0}/../../../'.format(script_path))
# go all the way to the git repo root (2 levels up)
git_path = os.path.realpath('{0}/../../'.format(script_path))

utils.Config("""
[general]
Expand Down

0 comments on commit 5c02822

Please sign in to comment.