def test_region():
    """
    Test: Stations by country/region code
    """

    # Select a weather station in Ontario, Canada
    station = Stations().region("CA", "ON").fetch(1).to_dict("records")[0]

    # Check if country code matches Canada
    assert station["country"] == "CA"

    # Check if region code matches Ontario
    assert station["region"] == "ON"

    Test: Stations by country/region code
    
tests/e2e/test_stations.py