def __init__(self): self.schedule = Schedule(":memory:") append_feed(self.schedule, "test/data/atx_small" ) # class GTFSATXSetup(object): # def __init__(self): # self.schedule = Schedule(":memory:") # append_feed(self.schedule, "test/data/atx_small" )
def setUp(self): self.schedule = Schedule(":memory:") overwrite_feed(self.schedule, "test/data/sample-feed.zip")
def setUp(self): self.schedule = Schedule(":memory:") data_location = os.path.join(os.path.dirname(__file__), "data", "sample_feed") overwrite_feed(self.schedule, data_location)
def gtfs_import(): schedule = Schedule("gtfs.sqlite") append_feed(schedule, "israel-gtfs.zip")