Esempio n. 1
0
def test_get_open_cities(url="",
                         cities=["rio grande", "south plainfield", "rahway"]):
    url = NjMvcUrlMapper.get_url(service_name="knowledge test")
    print(url)
    cities = [c.title() for c in cities]

    assert len(App._App__get_open_cities(self=App, url=url, cities=cities)) > 0