Skip to content

Commit

Permalink
Fix obsolete tests + prepare v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tducret committed Oct 23, 2020
1 parent 4a82071 commit e4f88ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
# ------------------------------------------
# Make sure everything was pushed (with a git status)
# (or git commit --am "Comment" and git push)
# export VERSION=0.1.2; git tag $VERSION -m "Fix pip install issue #13"; git push --tags
# export VERSION=0.1.2; git tag $VERSION -m "Fix pip install issue #13 + TGV max #17"; git push --tags

# If you need to delete a tag
# git push --delete origin $VERSION; git tag -d $VERSION
14 changes: 7 additions & 7 deletions tests/test_trainline.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def test_basic_search():

def test_search_only_bus():
from_date = "{} 09:00".format(_TOMORROW)
to_date = "{} 11:00".format(_TOMORROW)
to_date = "{} 15:00".format(_TOMORROW)
departure_station = "Toulouse Matabiau"
arrival_station = "Bordeaux St-Jean"

Expand Down Expand Up @@ -274,10 +274,10 @@ def test_basic_search_with_bicyle():


def test_basic_search_with_bicyle_without_reservation():
from_date = "{} 08:00".format(_TOMORROW)
to_date = "{} 12:00".format(_TOMORROW)
departure_station = "Toulouse Matabiau"
arrival_station = "Carcassonne"
from_date = "{} 07:00".format(_TOMORROW)
to_date = "{} 18:00".format(_TOMORROW)
departure_station = "Capdenac"
arrival_station = "Figeac"

results = trainline.search(
departure_station=departure_station,
Expand All @@ -296,8 +296,8 @@ def test_basic_search_with_bicyle_without_reservation():


def test_basic_search_with_bicyle_with_reservation():
from_date = "{} 20:00".format(_TOMORROW)
to_date = "{} 21:00".format(_TOMORROW)
from_date = "{} 10:00".format(_TOMORROW)
to_date = "{} 17:00".format(_TOMORROW)
departure_station = "Toulouse Matabiau"
arrival_station = "Bordeaux"

Expand Down

0 comments on commit e4f88ff

Please sign in to comment.