Ejemplo n.º 1
0
    def TestremoveCity(self):

        EditRoute.removecity("Seoul")
        isValid = True
        for cityname, cityinfo in GraphLibrary.city_dictionary.iteritems():
            if cityname == "Seoul":
                isValid = False
                break

        self.assertTrue(isValid)
Ejemplo n.º 2
0
    def TestremoveCity(self):

        EditRoute.removecity("Seoul")
        isValid = True
        for cityname, cityinfo in GraphLibrary.city_dictionary.iteritems():
            if cityname == "Seoul":
                isValid = False
                break

        self.assertTrue(isValid)