def test_main_tables():
 main_tables_path = os.path.join(os.path.dirname(__file__), '../../doc/main-tables.rst')
 with open(main_tables_path) as f:
  doc_class_names = set(re.findall('^\\.\\. dex-table:: (\\w+)$', f.read(), re.MULTILINE))
 mapped_class_names = set((cls.__name__ for cls in mapped_classes))
 assert (mapped_class_names == doc_class_names)

def test_main_tables ( ) : main_tables_path = os . path . join ( os . path . dirname ( __file__ ) , '../../doc/main-tables.rst' ) with open ( main_tables_path ) as f : doc_class_names = set ( re . findall ( '^\\.\\. dex-table:: (\\w+)$' , f . read ( ) , re . MULTILINE ) ) mapped_class_names = set ( ( cls . __name__ for cls in mapped_classes ) ) assert ( mapped_class_names == doc_class_names )
check that tables .