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

Models #11

Merged
merged 6 commits into from Jun 19, 2017

Minor fixes

  • Loading branch information...
uttu357 committed Jun 16, 2017
commit 14651ddd887da29fb38ac8a0f016d78b927817b1
@@ -1,3 +1,3 @@
#!/bin/sh
cd /code && \
npm run dev -s
npm run open:src
@@ -20,7 +20,7 @@ def setUp(self):
image_outputs=0,
)
def test__str__(self):
def test__unicode__(self):
title = self.demo.title
demo_url = self.demo.demo_url
final_str = '{0}: {1}'.format(title, demo_url)
@@ -20,7 +20,7 @@ def setUp(self):
log_type='Submission'
)
def test__str__(self):
def test__unicode__(self):
log_type = self.demo_log.log_type
demo_title = self.demo.title
created_at = self.demo_log.created_at
@@ -44,7 +44,7 @@ def setUp(self):
image_type='Input'
)
def test__str__(self):
def test__unicode__(self):
image_url = self.demo_log_image.image.url
image_type = self.demo_log_image.image_type
final_str = '{0}: {1}'.format(image_url, image_type)
@@ -62,7 +62,7 @@ def setUp(self):
text_type='Output'
)
def test__str__(self):
def test__unicode__(self):
text = self.demo_log_text.text
text_type = self.demo_log_text.text_type
final_str = '{0}: {1}'.format(text, text_type)
@@ -28,7 +28,7 @@ def setUp(self):
)
)
def test__str__(self):
def test__unicode__(self):
name = self.contact.name
email = self.contact.email
message = self.contact.message
@@ -63,5 +63,5 @@ def setUp(self):
visible=True,
)
def test__str__(self):
def test__unicode__(self):
self.assertEqual(self.team.name, self.team.__str__())
ProTip! Use n and p to navigate between commits in a pull request.