def test_matchesmanywindows(self):
		windows = [
			[("*","*","*"), datetime(2012,10,16,14,0,0), datetime(2012,10,16,17,0,0)],
			[("Prod","*","Amgen"), datetime(2012,10,16,14,0,0), datetime(2012,10,16,17,0,0)]
		]
		test_name = "javelin.zsservices.com/Amgen/0002a/tacos"
		self.assertTrue(lookup(self.test_name, self.event_time, windows))
 def test_matchesmanywindows(self):
     windows = [[("*", "*", "*"),
                 datetime(2012, 10, 16, 14, 0, 0),
                 datetime(2012, 10, 16, 17, 0, 0)],
                [("Prod", "*", "Amgen"),
                 datetime(2012, 10, 16, 14, 0, 0),
                 datetime(2012, 10, 16, 17, 0, 0)]]
     test_name = "javelin.zsservices.com/Amgen/0002a/tacos"
     self.assertTrue(lookup(self.test_name, self.event_time, windows))
	def test_shouldnotmatchdates(self):
		windows = [[("*","*","*"), datetime(2012,10,14,14,0,0), datetime(2012,10,14,17,0,0)]]
		test_name = "javelin.zsservices.com/Amgen/0002a/tacos"
		self.assertFalse(lookup(self.test_name, self.event_time, windows))
	def test_windowmatches(self):
		windows = [[("*","*","*"), datetime(2012,10,16,14,0,0), datetime(2012,10,16,17,0,0)]]
		self.assertTrue(lookup(self.test_name, self.event_time, windows))
 def test_shouldnotmatchdates(self):
     windows = [[("*", "*", "*"),
                 datetime(2012, 10, 14, 14, 0, 0),
                 datetime(2012, 10, 14, 17, 0, 0)]]
     test_name = "javelin.zsservices.com/Amgen/0002a/tacos"
     self.assertFalse(lookup(self.test_name, self.event_time, windows))
 def test_windowmatches(self):
     windows = [[("*", "*", "*"),
                 datetime(2012, 10, 16, 14, 0, 0),
                 datetime(2012, 10, 16, 17, 0, 0)]]
     self.assertTrue(lookup(self.test_name, self.event_time, windows))