From 6ed471b9d6046efa12531374907e114ee732f0f4 Mon Sep 17 00:00:00 2001 From: Cedric Boscher Date: Wed, 15 Jun 2016 17:14:48 +0200 Subject: [PATCH] adding tests --- tests/test_base.py | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/tests/test_base.py b/tests/test_base.py index 3c99a5a..c79398d 100644 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -376,7 +376,7 @@ class BaseRequests: - """],"todo", events=7) + """],"todo", events=8) assert "href>/calendar.ics/todo1.ics/calendar.ics/todo2.ics/calendar.ics/todo3.ics/calendar.ics/todo5.ics/calendar.ics/todo6.ics/calendar.ics/todo7.ics/calendar.ics/todo8.ics - """],"todo", events=7) + """],"todo", events=8) assert "href>/calendar.ics/todo1.ics/calendar.ics/todo2.ics/calendar.ics/todo3.ics/calendar.ics/todo5.ics/calendar.ics/todo6.ics/calendar.ics/todo7.ics/calendar.ics/todo8.ics + + + + """],"todo", events=1) + assert "href>/calendar.ics/todo2.ics + + + + """],"todo", events=1) + assert "href>/calendar.ics/todo2.ics + + + + """],"todo", events=1) + assert "href>/calendar.ics/todo3.ics + + + + """],"todo", events=1) + assert "href>/calendar.ics/todo3.ics