logout test
This commit is contained in:
parent
b3b14fbeb1
commit
b92f79c010
|
@ -39,3 +39,4 @@ class AccountTests(TestCase):
|
|||
user = User.objects.get(username='z')
|
||||
self.assertEqual(user.email, 'b@newdomain.com')
|
||||
self.assertEqual(user.profile.biography, 'tester')
|
||||
self.client.logout()
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<a href="{% url 'show-speaker' speaker.username %}">{{ speaker }}</a>
|
||||
{% if forloop.revcounter == 2 %} and {% elif not forloop.last %}, {% endif %}
|
||||
{% endfor %}
|
||||
<a class="btn btn-primary" href="{% url 'edit-talk' talk.slug %}">edit</a>
|
||||
<a class="btn btn-primary btn-xs" href="{% url 'edit-talk' talk.slug %}">edit</a>
|
||||
</li>
|
||||
{% empty %}
|
||||
<li>No proposed talk.</li>
|
||||
|
|
Loading…
Reference in New Issue