Esempio 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)
Esempio 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)