File: test_denoms_obj.py

package info (click to toggle)
python-eth-utils 5.3.1-1~bpo13%2B1
  • links: PTS, VCS
  • area: main
  • in suites: trixie-backports
  • size: 1,140 kB
  • sloc: python: 5,984; makefile: 238
file content (11 lines) | stat: -rw-r--r-- 193 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
from eth_utils import (
    denoms,
)
from eth_utils.units import (
    units,
)


def test_all_units_are_on_denoms_object():
    for name in units.keys():
        assert hasattr(denoms, name)