Exemplo n.º 1
0
def test_radar_query_multiple_stations():
    q = RadarQuery()
    q.stations('KTLX', 'KFTG')
    assert str(q) == 'stn=KTLX&stn=KFTG'
Exemplo n.º 2
0
 def test_multiple_stations(self):
     q = RadarQuery()
     q.stations('KTLX', 'KFTG')
     eq_(str(q), 'stn=KTLX&stn=KFTG')
Exemplo n.º 3
0
def test_radar_query_one_station():
    q = RadarQuery()
    q.stations('KTLX')
    assert str(q) == 'stn=KTLX'
Exemplo n.º 4
0
def test_radar_query_multiple_stations():
    """Test that radar query properly works when given multiple stations."""
    q = RadarQuery()
    q.stations('KTLX', 'KFTG')
    assert str(q) == 'stn=KTLX&stn=KFTG'
Exemplo n.º 5
0
 def test_one_station(self):
     q = RadarQuery()
     q.stations('KTLX')
     eq_(str(q), 'stn=KTLX')
Exemplo n.º 6
0
 def test_multiple_stations(self):
     q = RadarQuery()
     q.stations('KTLX', 'KFTG')
     eq_(str(q), 'stn=KTLX&stn=KFTG')
Exemplo n.º 7
0
def test_radar_query_one_station():
    """Test that radar query properly works when given a single station."""
    q = RadarQuery()
    q.stations('KTLX')
    assert str(q) == 'stn=KTLX'
Exemplo n.º 8
0
 def test_one_station(self):
     q = RadarQuery()
     q.stations('KTLX')
     eq_(str(q), 'stn=KTLX')
Exemplo n.º 9
0
def test_radar_query_multiple_stations():
    """Test that radar query properly works when given multiple stations."""
    q = RadarQuery()
    q.stations('KTLX', 'KFTG')
    assert str(q) == 'stn=KTLX&stn=KFTG'
Exemplo n.º 10
0
def test_radar_query_one_station():
    """Test that radar query properly works when given a single station."""
    q = RadarQuery()
    q.stations('KTLX')
    assert str(q) == 'stn=KTLX'
Exemplo n.º 11
0
def test_radar_query_multiple_stations():
    q = RadarQuery()
    q.stations('KTLX', 'KFTG')
    assert str(q) == 'stn=KTLX&stn=KFTG'
Exemplo n.º 12
0
def test_radar_query_one_station():
    q = RadarQuery()
    q.stations('KTLX')
    assert str(q) == 'stn=KTLX'