projects
/
pywienerlinien
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
936d29b
)
unittest enhanced
author
Florian Schweikert
<kelvan@logic.at>
Fri, 16 Dec 2011 14:35:30 +0000
(15:35 +0100)
committer
Florian Schweikert
<kelvan@logic.at>
Fri, 16 Dec 2011 14:35:30 +0000
(15:35 +0100)
gotovienna/tests/realtime.py
patch
|
blob
|
history
diff --git
a/gotovienna/tests/realtime.py
b/gotovienna/tests/realtime.py
index
7d998ae
..
52ca18a
100644
(file)
--- a/
gotovienna/tests/realtime.py
+++ b/
gotovienna/tests/realtime.py
@@
-67,7
+67,11
@@
def test_departures_by_station_datetime():
dep = parser.parse_departures_by_station(stationbased)
assert_equal(int, type(dep[13]['time']))
assert_equal(time, type(dep[14]['time']))
+ assert_equal(4, dep[3]['time'])
+ assert_equal(2, dep[4]['time'])
assert_equal(18, dep[13]['time'])
+ assert_equal('59A', dep[-4]['line'])
+ assert_equal('WLB', dep[-1]['line'])
assert_equal(time(13, 5), dep[14]['time'])
def test_departures():