1
0
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:
Michael Elsdörfer
2016-08-30 17:55:58 +02:00
parent 1bd53697b9
commit c850a726cb
3 changed files with 12 additions and 1 deletions

View File

@@ -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