File: adjacency_graphs_test.py

package info (click to toggle)
python-zxcvbn 4.4.28-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 55,856 kB
  • sloc: python: 2,179; makefile: 3
file content (9 lines) | stat: -rw-r--r-- 299 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
from zxcvbn.adjacency_graphs import ADJACENCY_GRAPHS


def test_adjacency_graphs_dict():
    assert isinstance(ADJACENCY_GRAPHS, dict)
    assert 'qwerty' in ADJACENCY_GRAPHS
    assert 'dvorak' in ADJACENCY_GRAPHS
    assert 'keypad' in ADJACENCY_GRAPHS
    assert 'mac_keypad' in ADJACENCY_GRAPHS