Skip to content

Commit

Permalink
[REF] Rename escpos folder to pyescpos
Browse files Browse the repository at this point in the history
Signed-off-by: Luis Felipe Mileo <mileo@kmee.com.br>
  • Loading branch information
mileo committed Aug 12, 2022
1 parent e0d4357 commit 3fc809f
Show file tree
Hide file tree
Showing 47 changed files with 37 additions and 37 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion escpos/helpers.py → pyescpos/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def is_value_in(constants_group, value):


def _list_impls():
from escpos.impl.epson import GenericESCPOS
from pyescpos.impl.epson import GenericESCPOS
return _impls_for(GenericESCPOS)


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ def read_version():
long_description=long_description,
long_description_content_type='text/x-rst',
packages=[
'escpos',
'escpos.impl',
'escpos.conn',
'pyescpos',
'pyescpos.impl',
'pyescpos.conn',
],
install_requires=install_requires,
extras_require=extras_require,
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import pytest

from escpos import constants
from pyescpos import constants


class FakeDevice(object):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_asc.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import pytest

from escpos import asc
from pyescpos import asc


def test_mnemonic():
Expand Down
10 changes: 5 additions & 5 deletions tests/test_bematech.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@

import six

from escpos import feature
from escpos.barcode import BARCODE_NORMAL_WIDTH
from escpos.barcode import BARCODE_HRI_BOTTOM
from escpos.exceptions import CashDrawerException
from escpos.impl.bematech import MP4200TH
from pyescpos import feature
from pyescpos.barcode import BARCODE_NORMAL_WIDTH
from pyescpos.barcode import BARCODE_HRI_BOTTOM
from pyescpos.exceptions import CashDrawerException
from pyescpos.impl.bematech import MP4200TH

# TODO: Implement tests for inherited methods so we can detect when changes
# in the base implementation are potentially breaking the specific
Expand Down
6 changes: 3 additions & 3 deletions tests/test_conn_bt.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
except ImportError:
_lib_bluetooth = False

from escpos.conn.bt import find_rfcomm_port
from escpos.conn.bt import BluetoothPortDiscoveryError
from escpos.conn.bt import BluetoothConnection
from pyescpos.conn.bt import find_rfcomm_port
from pyescpos.conn.bt import BluetoothPortDiscoveryError
from pyescpos.conn.bt import BluetoothConnection


class FakeBluetoothSocket(object):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_conn_dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from __future__ import unicode_literals


from escpos.conn.dummy import DummyConnection
from pyescpos.conn.dummy import DummyConnection


def test_has_settings_example_attribute():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_conn_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from __future__ import unicode_literals


from escpos.conn.file import FileConnection
from pyescpos.conn.file import FileConnection


def test_has_settings_example_attribute():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_conn_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from __future__ import unicode_literals


from escpos.conn.network import NetworkConnection
from pyescpos.conn.network import NetworkConnection


def test_has_settings_example_attribute():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_conn_serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from __future__ import unicode_literals


from escpos.conn.serial import SerialConnection
from pyescpos.conn.serial import SerialConnection


def test_has_settings_example_attribute():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_conn_usb.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from __future__ import unicode_literals


from escpos.conn.usb import USBConnection
from pyescpos.conn.usb import USBConnection


def test_has_settings_example_attribute():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_controlid_printidtouch.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import pytest

from escpos.impl.controlid import PrintIdTouch
from pyescpos.impl.controlid import PrintIdTouch


@pytest.fixture(scope='module')
Expand Down
2 changes: 1 addition & 1 deletion tests/test_daruma_darumageneric.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import pytest

from escpos.impl.daruma import DarumaGeneric
from pyescpos.impl.daruma import DarumaGeneric


@pytest.fixture(scope='module')
Expand Down
2 changes: 1 addition & 1 deletion tests/test_daruma_dr700.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import pytest

from escpos.impl.daruma import DR700
from pyescpos.impl.daruma import DR700


@pytest.fixture(scope='module')
Expand Down
2 changes: 1 addition & 1 deletion tests/test_elgin_elgingeneric.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import pytest

from escpos.impl.elgin import ElginGeneric
from pyescpos.impl.elgin import ElginGeneric


@pytest.fixture(scope='module')
Expand Down
2 changes: 1 addition & 1 deletion tests/test_elgin_i7.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import pytest

from escpos.impl.elgin import ElginI7
from pyescpos.impl.elgin import ElginI7


@pytest.fixture(scope='module')
Expand Down
4 changes: 2 additions & 2 deletions tests/test_elgin_i9.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

import pytest

from escpos.exceptions import CashDrawerException
from escpos.impl.elgin import ElginI9
from pyescpos.exceptions import CashDrawerException
from pyescpos.impl.elgin import ElginI9


@pytest.fixture(scope='module')
Expand Down
4 changes: 2 additions & 2 deletions tests/test_epson_genericescpos.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

import pytest

from escpos.impl.epson import GenericESCPOS
from escpos import feature
from pyescpos.impl.epson import GenericESCPOS
from pyescpos import feature


@pytest.fixture(scope='module')
Expand Down
2 changes: 1 addition & 1 deletion tests/test_epson_tmt20.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import pytest

from escpos.impl.epson import TMT20
from pyescpos.impl.epson import TMT20


@pytest.fixture(scope='module')
Expand Down
8 changes: 4 additions & 4 deletions tests/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
import time
import pytest

from escpos.exceptions import TimeoutException
from escpos.helpers import chunks
from escpos.helpers import TimeoutHelper
from escpos.helpers import find_implementations
from pyescpos.exceptions import TimeoutException
from pyescpos.helpers import chunks
from pyescpos.helpers import TimeoutHelper
from pyescpos.helpers import find_implementations


def test_chunk():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_nitere_npdv1020.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import pytest

from escpos.impl.nitere import NitereNPDV1020
from pyescpos.impl.nitere import NitereNPDV1020


@pytest.fixture(scope='module')
Expand Down
4 changes: 2 additions & 2 deletions tests/test_retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

import pytest

from escpos.retry import time as time_module
from escpos.retry import backoff
from pyescpos.retry import time as time_module
from pyescpos.retry import backoff


def test_backoff_no_exceptions_raised():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_unknown_cb55c.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import pytest

from escpos.impl.unknown import CB55C
from pyescpos.impl.unknown import CB55C


@pytest.fixture(scope='module')
Expand Down

0 comments on commit 3fc809f

Please sign in to comment.