From 72ae3b2e6a704ade048905e1c74b0f9c91b423f5 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Fri, 1 Feb 2013 17:57:56 -0600 Subject: [PATCH] Include hyphenation test case in test1 adapter. --- fanficdownloader/adapters/adapter_test1.py | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/fanficdownloader/adapters/adapter_test1.py b/fanficdownloader/adapters/adapter_test1.py index 3fdc0be..9306626 100644 --- a/fanficdownloader/adapters/adapter_test1.py +++ b/fanficdownloader/adapters/adapter_test1.py @@ -101,7 +101,8 @@ Some more longer description. "I suck at summaries!" "Better than it sounds!" } self.story.setMetadata('language',langs[idnum%len(langs)]) self.setSeries('The Great Test',idnum) - + if idnum == 0: + self.setSeries('0 The Great Test',idnum) self.story.setMetadata('rating','Tweenie') @@ -210,6 +211,22 @@ Some more longer description. "I suck at summaries!" "Better than it sounds!"

http://test1.com?sid=673 - Succeeds, multiple authors

Odd sid's will be In-Progress, evens complete. sid<10 will be assigned one of four languages and included in a series.

+''' + elif self.story.getMetadata('storyId') == '0': + text=u''' +
+ Those things in the bar could be genetic mutations.
+
+ eyes… but I’m not convinced we should automatically
+
+ eyes… but I’m not convinced we should automatically.
+
+

Those things in the bar could be genetic mutations.

+

t I’m not convinced we should automatically

+

ut I’m not convinced we should automatically

+

but I’m not convinced we should automatically

+

but I’m not convinced we should automatically

+

Those things in the bar could be genetic mutations.

''' else: text=u'''