Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F/#87 create assignment form #112

Merged
merged 2 commits into from
May 10, 2013
Merged

F/#87 create assignment form #112

merged 2 commits into from
May 10, 2013

Conversation

bogdanciobanu
Copy link
Collaborator

No description provided.


class TestAssignmentForm(BaseModelFormTestCase):
def test_subject_exists(self):
subject = SubjectFactory()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can extract the first two lines of each test in the setUp method, seems like a pattern to have a subject and then an assignement, using the model_to_dict on the factory for correct input.

@andreip
Copy link
Collaborator

andreip commented Apr 15, 2013

lgtm

aismail pushed a commit that referenced this pull request May 10, 2013
@aismail aismail merged commit d1d6d7b into master May 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants