1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-09-13 09:09:58 +00:00

Improve test coverage and fix issue in path loading (#602)

* reactivate skipped tests

* remove unused internal interfaces

* enable pytest in VS Code

* simplify and fix path logic in loader

* increase test coverage

* test missing config

* check for wrong printer names

* Skipped appdir test
This commit is contained in:
Patrick Kanzler
2023-12-06 00:25:36 +01:00
committed by GitHub
parent 5914c7c560
commit 815f247df1
8 changed files with 167 additions and 39 deletions

View File

@@ -12,10 +12,6 @@ class CodePageManager:
"""Initialize codepage manager."""
self.data = data
def get_all(self):
"""Get list of all codepages."""
return self.data.values()
@staticmethod
def get_encoding_name(encoding):
"""Get encoding name.