Skip to content

Commit

Permalink
fix some testing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Sep 9, 2022
1 parent 3c8d777 commit 18180d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ install:
- set PATH=C:\Python%PYTHON_MAJOR%%PYTHON_MINOR%;%PATH%
- set PATH=C:\Python%PYTHON_MAJOR%%PYTHON_MINOR%\Scripts;%PATH%
# Install system dependencies
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
- set PATH=%USERPROFILE%\.poetry\bin;%PATH%
- curl -sSL https://install.python-poetry.org | python -
- set PATH=C:\Users\appveyor\AppData\Roaming\Python\Scripts;%PATH%
- make doctor
# Install project dependencies
- make install
Expand Down
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ env:
- RANDOM_SEED=0

before_install:
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
- source $HOME/.poetry/env
- curl -sSL https://install.python-poetry.org | python3 -
- make doctor

install:
Expand Down
2 changes: 1 addition & 1 deletion gitman/tests/test_models_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_init_defaults(self):
assert "HEAD" == source.rev

def test_init_invalid_rev_default_gets_corrected(self):
source = Source(type="git", repo="http://example.com/foo/bar.git", rev=None)
source = Source(type="git", repo="http://example.com/foo/bar.git", rev='')

assert "HEAD" == source.rev

Expand Down

0 comments on commit 18180d1

Please sign in to comment.