mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
Update test_function_buzzer.py to pass black
This commit is contained in:
@@ -15,8 +15,16 @@ def test_buzzer_function_with_default_params():
|
|||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"times, duration",
|
"times, duration",
|
||||||
[
|
[
|
||||||
[1, 1], [2, 2], [3, 3], [4, 4], [5, 5], [6, 6], [7, 7], [8, 8], [9, 9],
|
[1, 1],
|
||||||
]
|
[2, 2],
|
||||||
|
[3, 3],
|
||||||
|
[4, 4],
|
||||||
|
[5, 5],
|
||||||
|
[6, 6],
|
||||||
|
[7, 7],
|
||||||
|
[8, 8],
|
||||||
|
[9, 9],
|
||||||
|
],
|
||||||
)
|
)
|
||||||
def test_buzzer_function(times, duration):
|
def test_buzzer_function(times, duration):
|
||||||
instance = printer.Dummy()
|
instance = printer.Dummy()
|
||||||
|
Reference in New Issue
Block a user