fix: minor fix in test

This commit is contained in:
Shivam Mishra 2019-03-25 11:36:43 +05:30 committed by GitHub
parent 1af3c41da3
commit ec56122876
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ def create_task(subject, start=None, end=None, depends_on=None, project=None, sa
task.subject = subject
task.exp_start_date = start or nowdate()
task.exp_end_date = end or nowdate()
# task.project = project or "_Test Project"
task.project = project or "_Test Project"
if save:
task.save()
else:
@ -117,4 +117,4 @@ def create_task(subject, start=None, end=None, depends_on=None, project=None, sa
if save:
task.save()
return task
return task