Skip to content

Commit f246a47

Browse files
committed
fix some testing issues
1 parent 3c8d777 commit f246a47

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ install:
2222
- set PATH=C:\Python%PYTHON_MAJOR%%PYTHON_MINOR%;%PATH%
2323
- set PATH=C:\Python%PYTHON_MAJOR%%PYTHON_MINOR%\Scripts;%PATH%
2424
# Install system dependencies
25-
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
26-
- set PATH=%USERPROFILE%\.poetry\bin;%PATH%
25+
- curl -sSL https://install.python-poetry.org | python -
26+
- set PATH=C:\Users\appveyor\AppData\Roaming\Python\Scripts;%PATH%
2727
- make doctor
2828
# Install project dependencies
2929
- make install

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ env:
1515
- RANDOM_SEED=0
1616

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

2221
install:

gitman/tests/test_models_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_init_defaults(self):
2323
assert "HEAD" == source.rev
2424

2525
def test_init_invalid_rev_default_gets_corrected(self):
26-
source = Source(type="git", repo="http://example.com/foo/bar.git", rev=None)
26+
source = Source(type="git", repo="http://example.com/foo/bar.git", rev="")
2727

2828
assert "HEAD" == source.rev
2929

0 commit comments

Comments
 (0)