File tree 5 files changed +11
-0
lines changed
5 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 1
1
import datetime
2
+ import pytest
2
3
3
4
from pyhafas import HafasClient
4
5
from pyhafas .profile import DBProfile
5
6
6
7
8
+ @pytest .mark .skip ()
7
9
def test_db_arrivals_request ():
8
10
client = HafasClient (DBProfile ())
9
11
arrivals = client .arrivals (
Original file line number Diff line number Diff line change 1
1
import datetime
2
+ import pytest
2
3
3
4
from pyhafas import HafasClient
4
5
from pyhafas .profile import DBProfile
5
6
6
7
8
+ @pytest .mark .skip ()
7
9
def test_db_departures_request ():
8
10
client = HafasClient (DBProfile ())
9
11
departures = client .departures (
Original file line number Diff line number Diff line change 1
1
import datetime
2
+ import pytest
2
3
3
4
from pyhafas import HafasClient
4
5
from pyhafas .profile import DBProfile
5
6
from pyhafas .types .fptf import Journey
6
7
7
8
9
+ @pytest .mark .skip ()
8
10
def test_db_journey_request ():
9
11
profile = DBProfile ()
10
12
client = HafasClient (profile )
Original file line number Diff line number Diff line change
1
+ import pytest
2
+
1
3
from pyhafas import HafasClient
2
4
from pyhafas .profile import DBProfile
3
5
4
6
7
+ @pytest .mark .skip ()
5
8
def test_db_locations_request ():
6
9
client = HafasClient (DBProfile ())
7
10
locations = client .locations (term = "Köln Messe/Deutz" )
Original file line number Diff line number Diff line change 2
2
from pyhafas .profile import DBProfile
3
3
from pyhafas .types .nearby import LatLng
4
4
from tests .distance import calculate_distance_in_meters
5
+ import pytest
5
6
6
7
8
+ @pytest .mark .skip ()
7
9
def test_db_nearby_request ():
8
10
pos = LatLng (52.523765 , 13.369948 )
9
11
client = HafasClient (DBProfile ())
You can’t perform that action at this time.
0 commit comments