From 564b71fee94d0ed89cc885f7e6fd34b691e0b9db Mon Sep 17 00:00:00 2001
From: Carlos Vega <carlos.vega@uni.lu>
Date: Wed, 7 Nov 2018 13:36:52 +0100
Subject: [PATCH] fixed office availability test. first name and last name must
 be unicode

---
 smash/web/tests/test_office_availability.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/smash/web/tests/test_office_availability.py b/smash/web/tests/test_office_availability.py
index 0bfbc635..10b732e2 100644
--- a/smash/web/tests/test_office_availability.py
+++ b/smash/web/tests/test_office_availability.py
@@ -25,7 +25,9 @@ class OfficeAvailabilityTest(TestCase):
 		start_date = datetime.datetime(today.year, today.month, today.day, tzinfo=today.tzinfo) #today midnight
 		end_date = start_date + datetime.timedelta(days=1)
 
-		office_availability = OfficeAvailability(u'{} {}'.format('âêîôûŵŷäëïöüẅÿà', 'èìòùẁỳáéíóúẃýćńóśźżąę'), 
+		first_name = u'âêîôûŵŷäëïöüẅÿà'
+		last_name = u'èìòùẁỳáéíóúẃýćńóśźżąę'
+		office_availability = OfficeAvailability(u'{} {}'.format(first_name, last_name), 
 			start=start_date, end=end_date, office_start='8:00', office_end='18:00')
 		
 		#no availabilties added yet
-- 
GitLab