genlayer-test 0.4.0__py3-none-any.whl → 0.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {genlayer_test-0.4.0.dist-info → genlayer_test-0.4.1.dist-info}/METADATA +1 -1
- {genlayer_test-0.4.0.dist-info → genlayer_test-0.4.1.dist-info}/RECORD +9 -8
- gltest/glchain/contract.py +1 -1
- gltest/logging.py +17 -0
- gltest_cli/logging.py +1 -1
- {genlayer_test-0.4.0.dist-info → genlayer_test-0.4.1.dist-info}/WHEEL +0 -0
- {genlayer_test-0.4.0.dist-info → genlayer_test-0.4.1.dist-info}/entry_points.txt +0 -0
- {genlayer_test-0.4.0.dist-info → genlayer_test-0.4.1.dist-info}/licenses/LICENSE +0 -0
- {genlayer_test-0.4.0.dist-info → genlayer_test-0.4.1.dist-info}/top_level.txt +0 -0
@@ -1,19 +1,20 @@
|
|
1
|
-
genlayer_test-0.4.
|
1
|
+
genlayer_test-0.4.1.dist-info/licenses/LICENSE,sha256=che_H4vE0QUx3HvWrAa1_jDEVInift0U6VO15-QqEls,1064
|
2
2
|
gltest/__init__.py,sha256=Uozr4VS-_oKUxEdXbWoEVLB8JQKBWGs6vGEHDj1-6LY,348
|
3
3
|
gltest/assertions.py,sha256=0dEk0VxcHK4I7GZPHxJmz-2jaA60V499gOSR74rZbfM,1748
|
4
4
|
gltest/exceptions.py,sha256=deJPmrTe5gF33qkkKF2IVJY7lc_knI7Ql3N7jZ8aLZs,510
|
5
5
|
gltest/fixtures.py,sha256=IyaTe3b-4weU2Bb5XKnP23dpk3jNKJDAOmYoYqRXFLQ,2501
|
6
|
+
gltest/logging.py,sha256=jAkHsuMm-AEx1Xu1srU6W-0YzTwXJB48mCK-OVzAiN4,342
|
6
7
|
gltest/types.py,sha256=BODmwTr2gAUEiO9FjiuTiWwuKvXgo4xZWstQWNUfnlw,156
|
7
8
|
gltest/artifacts/__init__.py,sha256=qTt3TE19gVNWnQLUlt5aDe4nNvJ2YJ1jzDkMmYIsCG0,194
|
8
9
|
gltest/artifacts/contract.py,sha256=KChpmfjZod_0dVB8y-dvWz6IVm7QlIJsgG2ArtvVDaU,6457
|
9
10
|
gltest/glchain/__init__.py,sha256=QLd55hVB9xVTAtCKbjmGPAwh0M8_tUNJ5xI0H93YyTY,428
|
10
11
|
gltest/glchain/account.py,sha256=HUmWguJMolggQaZNRPw-LGlRlQCjLLdUanKRowMv6pI,812
|
11
12
|
gltest/glchain/client.py,sha256=urRvnLt8GpdCV3yOBSvJNZQzu_TsZr8HqKn14Q2SpIQ,1547
|
12
|
-
gltest/glchain/contract.py,sha256=
|
13
|
+
gltest/glchain/contract.py,sha256=ozz1sLYnYyS0O6C1JlUhPKydV1PdPppMCqk-U1Qqmhk,11366
|
13
14
|
gltest/helpers/__init__.py,sha256=I7HiTu_H7_hP65zY6Wl02r-5eAMr2eZvqBVmusuQLX4,180
|
14
15
|
gltest/helpers/fixture_snapshot.py,sha256=bMgvlEVQBGIQzj7NOyosXWlphI1H2C1o75Zo0C-kGfQ,1931
|
15
16
|
gltest/helpers/take_snapshot.py,sha256=eXqEKXM2hcox3pLGIcNddobU8zXPQvD-Iwf87eHqW2s,1276
|
16
|
-
gltest_cli/logging.py,sha256=
|
17
|
+
gltest_cli/logging.py,sha256=YRWIGwCJIkaB747oQvmS2tzF-B7zymdEMJznrlfyQYA,1245
|
17
18
|
gltest_cli/main.py,sha256=Ti2-0Ev1x5_cM0D1UKqdgaDt80CDHEQGtdRne2qLm4M,53
|
18
19
|
gltest_cli/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
20
|
gltest_cli/config/constants.py,sha256=lX8C3aS7zXWazA8LWgE0BkPvy7NopyEMyJNI2yYWX9M,300
|
@@ -59,8 +60,8 @@ tests/gltest/assertions/test_assertions.py,sha256=qzVrOdOM4xYtIy1sFHVAD_-naDHOeq
|
|
59
60
|
tests/gltest_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
60
61
|
tests/gltest_cli/config/test_plugin.py,sha256=06-GENVugrL6mPQkgRgQqRsCTuQMy3WZcbh_9Du6zHo,3502
|
61
62
|
tests/gltest_cli/config/test_user.py,sha256=oJDcM6NbA16tQzQj5s8ZDvQYBm2uuvar5junFcVeitY,12116
|
62
|
-
genlayer_test-0.4.
|
63
|
-
genlayer_test-0.4.
|
64
|
-
genlayer_test-0.4.
|
65
|
-
genlayer_test-0.4.
|
66
|
-
genlayer_test-0.4.
|
63
|
+
genlayer_test-0.4.1.dist-info/METADATA,sha256=HxYSMvnSVF_6i-eQhETma9ajk0FkHqc3lM2QdcO83gY,21928
|
64
|
+
genlayer_test-0.4.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
65
|
+
genlayer_test-0.4.1.dist-info/entry_points.txt,sha256=RWPcSArBpz_G4BYioh5L8Q8hyClRbSgzLimjcWMp-BQ,94
|
66
|
+
genlayer_test-0.4.1.dist-info/top_level.txt,sha256=-qiGZxTRBytujzgVcKpxjvQ-WNeUDjXa59ceGMwMpko,24
|
67
|
+
genlayer_test-0.4.1.dist-info/RECORD,,
|
gltest/glchain/contract.py
CHANGED
@@ -17,7 +17,7 @@ from gltest.types import CalldataEncodable, GenLayerTransaction, TransactionStat
|
|
17
17
|
from typing import List, Any, Type, Optional, Dict, Callable
|
18
18
|
import types
|
19
19
|
from gltest_cli.config.general import get_general_config
|
20
|
-
from
|
20
|
+
from gltest.logging import logger
|
21
21
|
|
22
22
|
|
23
23
|
@dataclass
|
gltest/logging.py
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
import logging
|
2
|
+
|
3
|
+
|
4
|
+
def setup_logger() -> logging.Logger:
|
5
|
+
"""Setup a logger for the gltest package - disabled by default"""
|
6
|
+
|
7
|
+
logger = logging.getLogger("gltest")
|
8
|
+
|
9
|
+
logger.setLevel(logging.NOTSET)
|
10
|
+
logger.disabled = True
|
11
|
+
logger.addHandler(logging.NullHandler())
|
12
|
+
return logger
|
13
|
+
|
14
|
+
|
15
|
+
logger = setup_logger()
|
16
|
+
|
17
|
+
__all__ = ["logger"]
|
gltest_cli/logging.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|