File: test_denoms_obj.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-- 193 bytes parent folder | download
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)