Mercurial > hg > GlobalNeighbors
view tests/test_schema.py @ 7:254195d0bac2
partial implementation of autocomplete using jqueryui; easyautocomplete.com may be more what we want
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 25 Jun 2017 09:13:48 -0700 |
parents | 5dba84370182 |
children |
line wrap: on
line source
#!/usr/bin/env python """ basic tests for schema """ import unittest from globalneighbors import schema class SchemaTest(unittest.TestCase): def test_conformity(self): """basic sanity tests""" assert len(schema.descriptions) == len(schema.types) assert set(schema.descriptions.keys()) == set(schema.types.keys()) if __name__ == '__main__': unittest.main()