mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-30 03:46:29 -05:00
Stopping/starting renderd during map import. Moving tile cache clearing to import script.
This commit is contained in:
parent
6376e6539b
commit
6791e88baf
8 changed files with 26 additions and 49 deletions
|
|
@ -9,11 +9,11 @@ from modules.map import models
|
|||
@pytest.mark.parametrize('size,expected', [
|
||||
(0, 0),
|
||||
(-1, 0),
|
||||
(17737381, 252),
|
||||
(63434267, 904),
|
||||
(87745484, 1251),
|
||||
(136372996, 1944),
|
||||
(116318111, 1658),
|
||||
(17737381, 286),
|
||||
(63434267, 1025),
|
||||
(87745484, 1418),
|
||||
(136372996, 2203),
|
||||
(116318111, 1879),
|
||||
])
|
||||
def test_seconds_to_import_rpi4(size, expected):
|
||||
assert modules.map.lib.seconds_to_import(size) == expected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue