Cleanup of test.py
This commit is contained in:
22
test.py
22
test.py
@@ -10,25 +10,11 @@ import re
|
|||||||
|
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
|
|
||||||
with Flow() as flow:
|
with Flow(restart=True) as flow:
|
||||||
if True or flow.login('email', 'password'):
|
if flow.login('email', 'password'):
|
||||||
start = date(2015, 4, 1)
|
start = date(2015, 4, 1)
|
||||||
# end = date(2015, 5, 1)
|
|
||||||
end = date.today()
|
end = date.today()
|
||||||
|
flow.getEventsInRange(start, end)
|
||||||
test = date(2015, 4, 2)
|
flow.parseCalenderEvents()
|
||||||
|
|
||||||
# print(start <= test <= end)
|
|
||||||
# flow.getEventsInRange(start, end)
|
|
||||||
# flow.parseCalenderEvents()
|
|
||||||
flow.processTraining('Rik_Veenboer_2015-11-10_17-21-59')
|
|
||||||
|
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
# class Jobs:
|
|
||||||
# def download(self, id):
|
|
||||||
# print(id)
|
|
||||||
# print(x)
|
|
||||||
|
|
||||||
# for job in jobs[:]:
|
|
||||||
# getattr(Jobs, 'download')(None, *job[1])
|
|
||||||
|
|||||||
Reference in New Issue
Block a user