erc20-transfer-authorization

Simple approval escrow for ERC20 spending
Log | Files | Refs

commit 4fce8354971ff2fbf19cb49ac12a4d5b834f80e1
parent 4605eebdb85e25446953954c27758b13c4656351
Author: lash <dev@holbrook.no>
Date:   Sun, 11 Dec 2022 10:03:34 +0000

Move unittest base to package module

Diffstat:
Rpython/tests/base_erc20transferauthorization.py -> python/erc20_transfer_authorization/unittest/base.py | 0
Mpython/setup.cfg | 1+
Mpython/tests/test_basic.py | 4+---
Mpython/tests/test_quorum.py | 4+---
Mpython/tests/test_request.py | 4+---
Mpython/tests/test_transfer.py | 4+---
6 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/python/tests/base_erc20transferauthorization.py b/python/erc20_transfer_authorization/unittest/base.py diff --git a/python/setup.cfg b/python/setup.cfg @@ -26,6 +26,7 @@ python_requires = >= 3.6 packages = erc20_transfer_authorization erc20_transfer_authorization.runnable + erc20_transfer_authorization.unittest [options.package_data] * = diff --git a/python/tests/test_basic.py b/python/tests/test_basic.py @@ -9,9 +9,7 @@ from chainlib.eth.tx import receipt # local imports from erc20_transfer_authorization import TransferAuthorization - -# testutil imports -from tests.base_erc20transferauthorization import TestBase +from erc20_transfer_authorization.unittest import TestBase logg = logging.getLogger() diff --git a/python/tests/test_quorum.py b/python/tests/test_quorum.py @@ -10,9 +10,7 @@ from chainlib.eth.tx import receipt # local imports from erc20_transfer_authorization import TransferAuthorization - -# testutil imports -from tests.base_erc20transferauthorization import TestBase +from erc20_transfer_authorization.unittest import TestBase logg = logging.getLogger() diff --git a/python/tests/test_request.py b/python/tests/test_request.py @@ -13,9 +13,7 @@ from chainlib.eth.tx import receipt # local imports from erc20_transfer_authorization import TransferAuthorization - -# testutil imports -from tests.base_erc20transferauthorization import TestBase +from erc20_transfer_authorization.unittest import TestBase #logging.basicConfig(level=logging.DEBUG) logg = logging.getLogger() diff --git a/python/tests/test_transfer.py b/python/tests/test_transfer.py @@ -12,9 +12,7 @@ from eth_erc20 import ERC20 # local imports from erc20_transfer_authorization import TransferAuthorization - -# testutil imports -from tests.base_erc20transferauthorization import TestBase +from erc20_transfer_authorization.unittest import TestBase logg = logging.getLogger()