Remove redundant shift speed section
This commit is contained in:
1 parent
f6ebd78a4a
commit
71eae0600d
6 files changed
+10
-19
No files matched your search
@@ -48,15 +48,14 @@ def test_stable_model_required_labels_and_supplied_quantities():
|
||||
"Zeit ohne erfassten Stillstand",
|
||||
"Materialverbrauch",
|
||||
"42,00 kg",
|
||||
"Liniengeschwindigkeit im Lauf",
|
||||
"order",
|
||||
"article",
|
||||
"description",
|
||||
):
|
||||
assert label in text
|
||||
assert "Produktionszeit" not in text
|
||||
value = replace(value, speed=replace(value.speed, average_line_speed_m_min=12.345))
|
||||
assert "12,35 m/min" in content(value)
|
||||
assert "Liniengeschwindigkeit im Lauf" not in text
|
||||
assert "Durchschnittliche Liniengeschwindigkeit" not in text
|
||||
|
||||
|
||||
def test_production_pdf_table_contains_attributed_kpis_as_plain_text():
|
||||
@@ -72,6 +71,7 @@ def test_production_pdf_table_contains_attributed_kpis_as_plain_text():
|
||||
assert table.rows[1][-2:] == ("—", "0,00 kg")
|
||||
assert table.rows[0][0] == "12026001032"
|
||||
assert "Materialverbrauch gesamt: 42,00 kg" in content(value)
|
||||
assert "Liniengeschwindigkeit im Lauf" not in content(value)
|
||||
assert render_pdf(value).startswith(b"%PDF-")
|
||||
|
||||
|
||||
@@ -110,7 +110,6 @@ def test_empty_sections_and_zero_totals():
|
||||
"Keine Stillstandsgründe vorhanden.",
|
||||
"Keine Stillstandsereignisse vorhanden.",
|
||||
"Keine Materialverbrauchsdaten vorhanden.",
|
||||
"keine Laufdaten",
|
||||
"Gesamtmenge: 0,00 m²",
|
||||
"Rollen gesamt: 0",
|
||||
):
|
||||
|
||||
Reference in new issue
Block a user