Olof Johansson
f59207302d
prio_streams: Rename to protocol_prio
2016-03-31 20:33:44 +02:00
Olof Johansson
a6e05e4502
prio_streams: make protocol_prio param mandatory
...
Move the responsibility for extracting it to select_quality (prio_streams'
caller). This makes the prio_streams function simpler.
And at the same time, move the default protocol_prio list to global scope. This
can for instance be used for improved error reporting.
2016-03-31 20:19:44 +02:00
Johan Andersson
e20f1212c0
update tests
2016-03-28 21:11:32 +02:00
Olof Johansson
e781a1e89b
prio_streams: add unit tests
2016-03-13 16:56:51 +01:00
Olof Johansson
f4005505d9
filenamify: Simplify and add unittests
2016-01-10 15:03:45 +01:00
Johan Andersson
dc2cc0294c
pip8. expected 2 lines found 1
2015-09-15 20:10:32 +02:00
Olof Johansson
09f2f67b8e
Rename tests.utils to tests.subtitle
2014-10-12 21:27:16 +02:00
Johan Andersson
b1473f2eae
tests: fix output tests after changed progressbar size.
2014-08-27 19:29:32 +02:00
Olof Johansson
a6e030b803
tests: test that progressbar adjusts to term width
...
Reference: #ep14boat
2014-07-24 18:46:28 +02:00
Olof Johansson
17500539a5
Fix unittest failures for progessbar
...
This solution is not super nice, but solves the current errors. A proper mock
based solution would probably be preferable.
Reference: #ep14boat
2014-07-24 18:39:15 +02:00
Johan Andersson
4b06a32753
tests: update the path to timestr
2014-06-03 16:40:19 +02:00
Olof Johansson
38b3c7820b
hls: automatically detect baseurl
2014-02-08 17:40:25 +01:00
Olof Johansson
1372a4e12e
svtplay_dl.tests.output: initial set of unit tests for progress()
2013-04-19 18:12:36 +02:00
Olof Johansson
0136c06a3b
svtplay_dl.output: add an ETA class
...
This class is used to calculate remaining time to process a given
list of items.
2013-03-25 19:32:06 +01:00
Olof Johansson
652218e568
svtplay_dl.tests.output: fix indentation damage
...
And add a note about rewriting the mockfile hack.
2013-03-23 19:21:09 +01:00
Olof Johansson
a02a46752d
Add unit tests for timestr()
2013-03-23 18:08:20 +01:00
Johan Andersson
cfd20232ab
Rename module from lib/svtplay to lib/svtplay_dl
...
less confusion with the service.
2013-03-17 19:55:19 +01:00