Olof Johansson
f7b26a5745
Rename Justin to Twitch
...
Justin has been disbanded for a while.
2015-08-24 18:42:58 +02:00
Olof Johansson
f26573de49
picsearch: add simple "handles url" unit tests
2014-09-04 23:04:25 +02:00
Olof Johansson
86576128d5
Add initial unittests for expressen
2014-05-01 22:44:38 +02:00
Olof Johansson
c72294c422
Refactor handles URLs tests to mixin
2014-05-01 22:43:36 +02:00
Olof Johansson
5deeb84fc9
Break out OppetArkiv to subclass of Svtplay
2014-05-01 20:07:55 +02:00
Anders Waldenborg
231eaf00e6
Make Service.handles a classmethod
...
This way it can be called without instantiating the class.
2014-01-25 22:57:49 +01:00
Olof Johansson
e838384c52
Support supported_domains regexp for services
...
Lets services with more complex domains (like domains with language/country
codes) use a regular expressions that will match the supported domains for
the handles() method.
2014-01-01 16:22:07 +01:00
Olof Johansson
436090ddf9
Rename Service's handle method to handles
...
handle can be ambiguous (i.e, not a verb).
Signed-off-by: Olof Johansson <olof@ethup.se>
2014-01-01 16:22:07 +01:00
Olof Johansson
9f9bcad0c7
Add default handle method in Service base class
...
The default handle method will look for a supported_domains attribute
(a list), containing the supported domains. The subclassed service
class can of course override this if other means of determining support
is needded.
2014-01-01 16:22:07 +01:00
Olof Johansson
b931d58319
Add unit test for oppetarkiv.se
2013-04-16 17:51:31 +02:00
Johan Andersson
12ca98359f
Right module name in svtplay test
2013-03-24 14:13:32 +01:00
Olof Johansson
91cf0e2f15
Add unittests for svtplay.service.svtplay
2013-03-23 17:02:56 +01:00