mirror of
https://github.com/python-escpos/python-escpos
synced 2025-08-24 09:03:34 +00:00
Fix docstring warnings from QuantifedCode.
This commit is contained in:
@@ -8,6 +8,8 @@ def profile():
|
||||
|
||||
|
||||
class TestBaseProfile:
|
||||
"""Test the `BaseProfile` class.
|
||||
"""
|
||||
|
||||
def test_get_font(self, profile):
|
||||
with pytest.raises(NotSupported):
|
||||
@@ -26,6 +28,8 @@ class TestBaseProfile:
|
||||
|
||||
|
||||
class TestCustomProfile:
|
||||
"""Test custom profile options with the `Profile` class.
|
||||
"""
|
||||
|
||||
def test_columns(self):
|
||||
assert Profile(columns=10).get_columns('sdfasdf') == 10
|
||||
|
Reference in New Issue
Block a user