Matthias Urlichs
1dacbc35bf
Use unicode_literals __future__
2019-02-03 14:09:57 +01:00
Matthias Urlichs
c05b6572c5
Fix coding= headers
2019-01-27 17:36:16 +01:00
MirceaDan
f243a52823
all files start now with same 2 lines
...
# coding=utf-8
from __future__ import absolute_import, division, print_function
2018-12-02 02:13:12 -08:00
Gina Häußge
1ccc1fa47b
Merge pull request #2807 from tedder/201809_py3_devel_prep_b
...
201809 py3 devel prep batch b
2018-09-21 12:20:44 +02:00
Gina Häußge
2c50aa789a
Merge branch 'pr/2733' into devel
...
# Conflicts:
# src/octoprint/plugins/discovery/__init__.py
2018-09-18 17:30:30 +02:00
tedder
660724741c
quick refactor for deprecated 'assertEquals'
...
It's been quietly allowed but was dropped in py3.
2018-09-01 22:31:33 -07:00
Gina Häußge
fd4ff2bf37
Merge branch 'maintenance' into devel
...
# Conflicts:
# AUTHORS.md
# src/octoprint/plugin/__init__.py
# src/octoprint/server/__init__.py
# src/octoprint/server/api/__init__.py
# tests/timelapse/test_timelapse_helpers.py
2018-07-16 15:29:02 +02:00
sti2d
30359f52ab
In python 3, map/filter return specific object types that :
...
* are not directly iterable
* doesn't work with len() function
* doesn't allow list concatenation
This commit wraps all relevant map/filter outputs into a list object type
2018-07-14 09:22:27 +02:00
Gina Häußge
e224b0ac71
Fix & extend unit tests
2018-07-13 18:02:42 +02:00
Koen Kooi
5aef014773
unit tests: timelapse: add videocodec test
...
This test checks if both videocodec and container format have been set
correctly.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net >
2018-05-15 10:42:11 +02:00
Gina Häußge
bd7a28af5b
Fix unit test
2018-05-10 18:35:25 +02:00
Gina Häußge
8369d311bf
Small refactoring & fixed tests
2018-05-03 17:42:30 +02:00
ZachNo
b7adf115ee
Changed to CommandlineCaller, added test
...
Now using CommandlineCaller using a custom logger function.
Added test in test_timelapse_helpers.py for _process_ffmpeg_output
2018-04-21 21:44:52 -04:00
ZachNo
a4ce92c963
Added timelapse render progress bar
...
For issue @485
Added progress bar to the Timelapse tab between the settings and files
Added code to process the output of ffmpeg and compute a percentage
Added code to communicate the percentage from the server to the client
Added myself to the authors
Changed tests to reflect new loglevel
2018-04-16 06:05:25 -04:00
Gina Häußge
6bd788a83f
Always define pixfmt for timelapse in video filter chain
...
Apparently having a chain AND the pix_fmt parameter
produces issues with higher resolutions.
Should fix #1317
2017-01-17 13:03:27 +01:00
Gina Häußge
53c0ad0889
Fixed unit tests for octoprint.timelapse
2016-09-16 18:35:30 +02:00
Gina Häußge
3fb9248d2a
More timelapse unit tests
2016-02-10 16:44:46 +01:00
Gina Häußge
99c65b8cf4
Unit test for unrendered timelapse cleanup
2016-02-10 14:40:10 +01:00