From 5b2ad63f251e767972150b4b16c4e433cc8e1e26 Mon Sep 17 00:00:00 2001 From: Jacek Lebioda <jacek.lebioda@uni.lu> Date: Mon, 11 Dec 2017 17:02:08 +0100 Subject: [PATCH] Correction of a breadcrumb and a test --- smash/web/templates/flying_teams/index.html | 2 +- smash/web/tests/view/test_flying_teams.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/smash/web/templates/flying_teams/index.html b/smash/web/templates/flying_teams/index.html index 341ec1ff..3e22fbfb 100644 --- a/smash/web/templates/flying_teams/index.html +++ b/smash/web/templates/flying_teams/index.html @@ -12,7 +12,7 @@ {% block page_description %}management{% endblock page_description %} {% block breadcrumb %} - {% include "equipment_and_rooms/breadcrumb.html" %} + {% include "flying_teams/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} diff --git a/smash/web/tests/view/test_flying_teams.py b/smash/web/tests/view/test_flying_teams.py index 64e36435..b6d15204 100644 --- a/smash/web/tests/view/test_flying_teams.py +++ b/smash/web/tests/view/test_flying_teams.py @@ -5,7 +5,7 @@ from web.tests import LoggedInTestCase class FlyingTeamTests(LoggedInTestCase): - def generate_more_or_less_random_name(): + def generate_more_or_less_random_name(self): import random letters = [chr(x) for x in range(97,122)] return 'Radom' + ''.join(random.choice(letters) for x in range(15)) -- GitLab