File: test_import_string.py

package info (click to toggle)
python-eth-utils 5.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,140 kB
  • sloc: python: 5,985; makefile: 238
file content (11 lines) | stat: -rw-r--r-- 266 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
from eth_utils.decorators import (
    combomethod,
)
from eth_utils.module_loading import (
    import_string,
)


def test_import_string():
    imported_combomethod = import_string("eth_utils.decorators.combomethod")
    assert imported_combomethod is combomethod