Skip to content

Commit

Permalink
Remove prints from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcua committed Jan 21, 2018
1 parent 78f81c5 commit 3e35ed3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2018-01-02 22:00
# Generated by Django 1.9.13 on 2018-01-21 15:41
from __future__ import unicode_literals

from django.db import migrations
from django.db import models
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import jsonfield.fields
import orchestra.models.core.mixins
import orchestra.utils.models


class Migration(migrations.Migration):

dependencies = [
('orchestra', '0073_remove_worker_staffing_priority'),
('orchestra', '0074_auto_20180116_1523'),
]

operations = [
Expand All @@ -29,4 +29,9 @@ class Migration(migrations.Migration):
],
bases=(orchestra.models.core.mixins.SanityCheckMixin, orchestra.utils.models.DeleteMixin, models.Model),
),
migrations.AddField(
model_name='workflowversion',
name='sanity_checks',
field=jsonfield.fields.JSONField(default={}),
),
]
21 changes: 0 additions & 21 deletions orchestra/migrations/0075_workflowversion_sanity_checks.py

This file was deleted.

4 changes: 0 additions & 4 deletions orchestra/utils/tests/test_task_lifecycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,12 +706,8 @@ def test_next_todo_with_earlier_due_time(self):
description='todo2')

tasks_assigned = tasks_assigned_to_worker(self.workers[5])
for t in tasks_assigned:
print(t['next_todo_dict'])
print('----')

for t in tasks_assigned:
print(t['next_todo_dict'])
if t['id'] == task.id:
next_todo_due = t['next_todo_dict'].get('due_datetime', None)

Expand Down

0 comments on commit 3e35ed3

Please sign in to comment.