def setUp(self): self.remove('cache*') self.cache = db.open() self.var = BlueDollar(self.cache) self.date_list = [datetime.date(2014,10,8) + datetime.timedelta(days=i) for i in range(3)] self.values = [14.65, 14.83, 14.95]
def setUp(self): self.remove('cache*') self.cache = db.open() self.var = Chicago(self.cache) self.date_list = [datetime.date(2014,10,8) + datetime.timedelta(days=i) for i in range(3)] self.values = [None, None, None]
def setUp(self): self.day = datetime.date(2014, 10, 8) self.date_list = map(lambda i: self.day - datetime.timedelta(days=i), range(1, 8)) self.cache = db.open() self.dollar = BlueDollar(self.cache) self.regression = statistic.TimeRegression(self.date_list, self.day, [self.dollar])
def setUp(self): self.remove('cache*') self.cache = db.open() self.var = SanMartin(self.cache) self.date_list = [datetime.date(2014, 9, 8) + datetime.timedelta(days=i) for i in range(3)] self.today_list = [datetime.datetime.now().date()] self.values = [2330., 2320., 2310.]
def setUp(self): self.remove('cache*') self.cache = db.open() self.var = Chicago(self.cache) self.date_list = [ datetime.date(2014, 10, 8) + datetime.timedelta(days=i) for i in range(3) ] self.values = [None, None, None]
def setUp(self): self.remove('cache*') self.cache = db.open() self.var = BlueDollar(self.cache) self.date_list = [ datetime.date(2014, 10, 8) + datetime.timedelta(days=i) for i in range(3) ] self.values = [14.65, 14.83, 14.95]
def setUp(self): self.day = datetime.date(2014, 10, 8) self.date_list = map(lambda i: self.day - datetime.timedelta(days=i), range(1, 8)) self.cache = db.open() self.dollar = BlueDollar(self.cache) self.sanmartin = SanMartin(self.cache) self.regression = statistic.VariableRegression( self.date_list, self.day, [self.dollar, self.sanmartin])
def setUp(self): self.remove('cache*') self.cache = db.open() self.var = SanMartin(self.cache) self.date_list = [ datetime.date(2014, 9, 8) + datetime.timedelta(days=i) for i in range(3) ] self.today_list = [datetime.datetime.now().date()] self.values = [2330., 2320., 2310.]
def setUp(self): self.remove('cache*') self.cache = db.open() self.var = BCR(self.cache) self.date_list = [ datetime.date(2014, 10, 8) + datetime.timedelta(days=i) for i in range(3) ] self.today = datetime.datetime.now().date() self.yesterday = self.today - datetime.timedelta(days=1) self.values = {'rosario': [2260., 2300., 2300.]}
def setUp(self): self.remove('cache*') self.cache = db.open() self.var = Afascl(self.cache) self.date_list = [datetime.date(2014,10,8) + datetime.timedelta(days=i) for i in range(3)] self.today = datetime.datetime.now().date() self.values = { 'bla': [2140., 2140., 2120.], 'san': [2260., 2300., 2300.] }
def setUp(self): self.remove('cache*') self.cache = db.open() self.var = BCR(self.cache) self.date_list = [datetime.date(2014, 10, 8) + datetime.timedelta(days=i) for i in range(3)] self.today = datetime.datetime.now().date() self.yesterday = self.today - datetime.timedelta(days=1) self.values = { 'rosario': [2260., 2300., 2300.] }
def setUp(self): self.remove('cache*') self.cache = db.open() self.var = Afascl(self.cache) self.date_list = [ datetime.date(2014, 10, 8) + datetime.timedelta(days=i) for i in range(3) ] self.today = datetime.datetime.now().date() self.values = { 'bla': [2140., 2140., 2120.], 'san': [2260., 2300., 2300.] }
def setUp(self): self.remove('cache*') self.cache = db.open()
def setUp(self): self.remove('cache*') self.cache = db.open() self.var = Variable(self.cache) self.today = datetime.datetime.now().date() self.yesterday = self.today - datetime.timedelta(days=1)