Skip to content

Commit

Permalink
form fixes (for unit tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
faxad committed May 2, 2016
1 parent 42270a6 commit 337e6e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion activflow/tests/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
class CustomForm(forms.ModelForm):
"""Sample Custom form"""
bar = forms.CharField(
max_length=6, widget=forms.TextInput)
max_length=17, widget=forms.TextInput)
4 changes: 2 additions & 2 deletions activflow/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def test_workflow_init_to_finish(self):
'app_name': 'tests',
'model_name': 'Corge',
'pk': final_task.id
}
}
),
{'grault': 'Example - big E', 'thud': 23})

Expand Down Expand Up @@ -330,7 +330,7 @@ def test_rollback_feature(self):
'app_name': 'tests',
'model_name': 'Corge',
'pk': final_task.id
}
}
),
{'grault': 'Example - big E', 'thud': 23})

Expand Down

0 comments on commit 337e6e1

Please sign in to comment.