Exemple #1
0
	def test_lastTime(self):
                day = "friday"
                scrapeDay = testScrape(day)
                self.assertEqual(scrapeDay[5], 15.0, "Start time for Friday Last Restaurant is Incorrect")
                self.assertEqual(scrapeDay[6], 18.0, "End time for Friday Last Restaurant is Incorrect")
Exemple #2
0
	def test_firstTime(self):
		day = "thursday"
		scrapeDay = testScrape(day)
		self.assertEqual(scrapeDay[3], 16.0, "Start time for Thursday First Restaurant is Incorrect")
		self.assertEqual(scrapeDay[4], 18.0, "End time for Thursday First Restaurant is Incorrect")
Exemple #3
0
	def test_firstRest(self):
		day = "tuesday"
		scrapeDay = testScrape(day)
		self.assertEqual(scrapeDay[1], "Boulder Chophouse & Tavern", "First Restraunt from Tuesday is Incorrect")
Exemple #4
0
	def test_lastRest(self):
		day = "wednesday"
		scrapeDay = testScrape(day)
		self.assertEqual(scrapeDay[2], "Zolo", "Last Restraunt from Wednesday is Incorrect")
Exemple #5
0
	def test_init(self):
		day = "monday"
		scrapeDay = testScrape(day)
		self.assertEqual(scrapeDay[0], day, "Scrape Day is Incorrect, should access Monday")